ref: bb12806da1b3e504afa76ca0c44a00482f8c48a8
parent: fa36042131887a9a4e934440c1b0afeb65be3c76
author: Antonio Niño Díaz <[email protected]>
date: Sat Jul 1 10:25:19 EDT 2017
Fix indentation Signed-off-by: Antonio Niño Díaz <[email protected]>
--- a/src/asm/asmy.y
+++ b/src/asm/asmy.y
@@ -1068,16 +1068,18 @@
| const T_OP_SHL const { $$ = $1 << $3; }
| const T_OP_SHR const { $$ = $1 >> $3; }
| const T_OP_MUL const { $$ = $1 * $3; }
- | const T_OP_DIV const {
- if ($3 == 0)
- fatalerror("division by zero");
- $$ = $1 / $3;
- }
- | const T_OP_MOD const {
- if ($3 == 0)
- fatalerror("division by zero");
- $$ = $1 % $3;
- }
+ | const T_OP_DIV const
+ {
+ if ($3 == 0)
+ fatalerror("division by zero");
+ $$ = $1 / $3;
+ }
+ | const T_OP_MOD const
+ {
+ if ($3 == 0)
+ fatalerror("division by zero");
+ $$ = $1 % $3;
+ }
| T_OP_ADD const %prec NEG { $$ = +$2; }
| T_OP_SUB const %prec NEG { $$ = -$2; }
| T_OP_NOT const %prec NEG { $$ = 0xFFFFFFFF^$2; }