diff --git a/src/include/tokenize.h b/src/include/tokenize.h index 4e42b0f..74e2c7b 100644 --- a/src/include/tokenize.h +++ b/src/include/tokenize.h @@ -4,11 +4,11 @@ #include using namespace std; -enum class TokenType { Type, Int, Plus, Star, Slash, Minus, Equal, Semicolon, LParenthese, RParenthese }; +enum class TokenType { Type, Number, Plus, Star, Slash, Minus, Equal, Semicolon, LParenthese, RParenthese }; enum class Type { Int }; union TokenData { - int integer; + double number; Type type; };