aboutsummaryrefslogtreecommitdiff
path: root/pc.l
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-18 22:33:52 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-18 22:33:52 -0400
commitbb9070ca0d79d2314c25b83e4496f43488446734 (patch)
tree3246d6c237eac1ca2802c241feb77545d12a40e2 /pc.l
parentceb4fb57521582835643d9bfc3dfda89eca6f1f0 (diff)
parentdd07055aca1c45d147d773350e0c21930822a74f (diff)
Merge branch 'master' into mem-management
Diffstat (limited to 'pc.l')
-rw-r--r--pc.l12
1 files changed, 6 insertions, 6 deletions
diff --git a/pc.l b/pc.l
index 509b6cf..ec5b947 100644
--- a/pc.l
+++ b/pc.l
@@ -174,37 +174,37 @@ id [A-Za-z][A-Za-z0-9_]*
"+" {
yylval.opval = ADD;
- debug_print(RELOP, &yylval);
+ debug_print(ADDOP, &yylval);
return ADDOP;
}
"-" {
yylval.opval = SUB;
- debug_print(RELOP, &yylval);
+ debug_print(ADDOP, &yylval);
return ADDOP;
}
"or" {
yylval.opval = OR;
- debug_print(RELOP, &yylval);
+ debug_print(ADDOP, &yylval);
return ADDOP;
}
"*" {
yylval.opval = MUL;
- debug_print(RELOP, &yylval);
+ debug_print(MULOP, &yylval);
return MULOP;
}
"/" {
yylval.opval = DIV;
- debug_print(RELOP, &yylval);
+ debug_print(MULOP, &yylval);
return MULOP;
}
"and" {
yylval.opval = AND;
- debug_print(RELOP, &yylval);
+ debug_print(MULOP, &yylval);
return MULOP;
}