Add Percent to tokens

This commit is contained in:
ala89 2023-10-27 16:37:51 +02:00
parent 35181444f3
commit bc7c075f9a

View File

@ -4,7 +4,7 @@
#include <vector>
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 {