From 69ce370c9ebf92caea64ef1ba28a502affdad3d5 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sat, 19 Oct 2013 21:41:19 +0200 Subject: Switched OperatorNode to TokenType * OperatorNode class now uses TokenType for internal operator storage and logic selection * print-Method resolves the TokenType back into its character representation --- src/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 6e43605..9727d6a 100644 --- a/src/utils.h +++ b/src/utils.h @@ -17,6 +17,7 @@ enum class TokenType : int8_t { PARENTHESES_OPEN = 90, PARENTHESES_CLOSE = 91, VALUE_NUMBER = -1, + VALUE_IDENTIFIER = -2, }; TokenType getTokenType(char); -- cgit v1.2.3