diff --git a/src/include/types.h b/src/include/types.h index 9dcbcdc..9ac403e 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -12,10 +12,10 @@ using namespace std; /** * Tokens definition */ -enum class TokenType { Identifier, Litteral, Plus, Minus, DoublePlus, DoubleMinus, DoubleEqual, Land, Lor, Lt, Gt, Leq, Geq, NotEqual, Not, Star, Slash, Percent, Equal, Semicolon, LParenthese, RParenthese, LCurlyBracket, RCurlyBracket, If, Else, While, For }; -enum class Type { Int }; +enum class TokenType { Type, Identifier, Litteral, Plus, Minus, DoublePlus, DoubleMinus, DoubleEqual, Land, Lor, Lt, Gt, Leq, Geq, NotEqual, Not, Star, Slash, Percent, Equal, Semicolon, LParenthese, RParenthese, LCurlyBracket, RCurlyBracket, If, Else, While, For, Comma }; +enum class Type { Int, Double }; -using TokenData = variant; +using TokenData = variant; struct CodePosition { int line;