Fixing swapped GTE and LTE.

This commit is contained in:
Stefano Sanfilippo 2014-11-27 21:30:42 +01:00
parent 13ccc9277e
commit 88e78be419

View File

@ -292,10 +292,10 @@ expression:
$$ = new ExpGt($1, $3); $$ = new ExpGt($1, $3);
} }
| expression OP_LTE expression { | expression OP_LTE expression {
$$ = new ExpGte($1, $3); $$ = new ExpLte($1, $3);
} }
| expression OP_GTE expression { | expression OP_GTE expression {
$$ = new ExpLte($1, $3); $$ = new ExpGte($1, $3);
} }
| expression OP_PLUS expression { | expression OP_PLUS expression {
$$ = new ExpPlus($1, $3); $$ = new ExpPlus($1, $3);