diff options
author | Mike Buland <mike@xagasoft.com> | 2013-05-08 13:36:09 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-05-08 13:36:09 -0600 |
commit | fc14c0f16e881607e55f04516934818091331bd3 (patch) | |
tree | a104a99bfec86501f7b71151004924f48cadaa6d /src/token.cpp | |
parent | 69d9a257ba02c973da5708d9b6055e4ac5dc0ee2 (diff) | |
download | clic-fc14c0f16e881607e55f04516934818091331bd3.tar.gz clic-fc14c0f16e881607e55f04516934818091331bd3.tar.bz2 clic-fc14c0f16e881607e55f04516934818091331bd3.tar.xz clic-fc14c0f16e881607e55f04516934818091331bd3.zip |
Command parameters are taken as strings & decimal.0.06
You no longer need to set the radix in the current radix.
Diffstat (limited to 'src/token.cpp')
-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 | ||