From fc14c0f16e881607e55f04516934818091331bd3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 May 2013 13:36:09 -0600 Subject: Command parameters are taken as strings & decimal. You no longer need to set the radix in the current radix. --- src/token.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/token.cpp') 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() case tVariable: case tCommand: + case tString: delete sVal; break; @@ -63,6 +64,7 @@ Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType ) case Token::tOpenParen: return f << "("; case Token::tCloseParen: return f << ")"; case Token::tEquals: return f << "="; + case Token::tString: return f << "str"; case Token::tEndOfLine: return f << "eol"; case Token::tEndOfInput: return f << "eoi"; -- cgit v1.2.3