From 753d179d47de1dc2349d293453683ff4d1d96d8a Mon Sep 17 00:00:00 2001 From: ala89 Date: Fri, 8 Dec 2023 14:17:15 +0100 Subject: [PATCH] Edit Type enum --- src/include/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;