diff --git a/include/compiler/treeifier/tokenizer.hh b/include/compiler/treeifier/tokenizer.hh index feff58d..78cd6b4 100644 --- a/include/compiler/treeifier/tokenizer.hh +++ b/include/compiler/treeifier/tokenizer.hh @@ -6,6 +6,8 @@ namespace ppc::comp::tree { enum operator_t { + NONE, + LESS_THAN, GREATER_THAN, LESS_THAN_EQUALS, diff --git a/src/compiler/treeifier/operators.cc b/src/compiler/treeifier/operators.cc index 06df236..fce5567 100644 --- a/src/compiler/treeifier/operators.cc +++ b/src/compiler/treeifier/operators.cc @@ -7,6 +7,7 @@ using namespace std::string_literals; std::vector operators = { + "(none)", "<", ">", "<=", ">=", "==", "!=", "&&", "||", "<<", ">>", "^", "&", "|", "!", "~", "++", "--",