rgbasm: Fixed a dumb typo; pointed out by stag019.

This commit is contained in:
Anthony J. Bentley
2015-01-27 05:42:51 -07:00
parent 9b4d16b0d8
commit 483d94f88b

View File

@@ -1000,7 +1000,7 @@ const : T_ID { $$ = sym_GetConstantValue($1); }
| const T_OP_MOD const { | const T_OP_MOD const {
if ($3 == 0) if ($3 == 0)
fatalerror("division by zero"); fatalerror("division by zero");
$$ = $1 % 3; $$ = $1 % $3;
} }
| T_OP_ADD const %prec NEG { $$ = +$2; } | T_OP_ADD const %prec NEG { $$ = +$2; }
| T_OP_SUB const %prec NEG { $$ = -$2; } | T_OP_SUB const %prec NEG { $$ = -$2; }