From bc7c075f9adcf88bc42ecc7e50d5806605c52750 Mon Sep 17 00:00:00 2001 From: ala89 Date: Fri, 27 Oct 2023 16:37:51 +0200 Subject: [PATCH] Add Percent to tokens --- src/include/tokenize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/tokenize.h b/src/include/tokenize.h index 74e2c7b..2e08661 100644 --- a/src/include/tokenize.h +++ b/src/include/tokenize.h @@ -4,7 +4,7 @@ #include using namespace std; -enum class TokenType { Type, Number, Plus, Star, Slash, Minus, Equal, Semicolon, LParenthese, RParenthese }; +enum class TokenType { Type, Number, Plus, Minus, Star, Slash, Percent, Equal, Semicolon, LParenthese, RParenthese }; enum class Type { Int }; union TokenData {