diff options
Diffstat (limited to '')
-rw-r--r-- | src/token.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.cpp b/src/token.cpp index 5b0e6fe..a03c821 100644 --- a/src/token.cpp +++ b/src/token.cpp | |||
@@ -40,6 +40,7 @@ Token::~Token() | |||
40 | 40 | ||
41 | case tVariable: | 41 | case tVariable: |
42 | case tCommand: | 42 | case tCommand: |
43 | case tString: | ||
43 | delete sVal; | 44 | delete sVal; |
44 | break; | 45 | break; |
45 | 46 | ||
@@ -63,6 +64,7 @@ Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType ) | |||
63 | case Token::tOpenParen: return f << "("; | 64 | case Token::tOpenParen: return f << "("; |
64 | case Token::tCloseParen: return f << ")"; | 65 | case Token::tCloseParen: return f << ")"; |
65 | case Token::tEquals: return f << "="; | 66 | case Token::tEquals: return f << "="; |
67 | case Token::tString: return f << "str"; | ||
66 | case Token::tEndOfLine: return f << "eol"; | 68 | case Token::tEndOfLine: return f << "eol"; |
67 | case Token::tEndOfInput: return f << "eoi"; | 69 | case Token::tEndOfInput: return f << "eoi"; |
68 | 70 | ||