Add Percent to tokens
This commit is contained in:
parent
35181444f3
commit
bc7c075f9a
@ -4,7 +4,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
using namespace std;
|
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 };
|
enum class Type { Int };
|
||||||
|
|
||||||
union TokenData {
|
union TokenData {
|
||||||
|
Loading…
Reference in New Issue
Block a user