summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/parser.y b/parser.y
index 237b71d..3ca1c2c 100644
--- a/parser.y
+++ b/parser.y
@@ -137,8 +137,7 @@ inst:
| T_BRA a_pcoff { $$ = INSTRUCTION_ARGS(BRA, $2); }
| T_JMP a_regp { $$ = INSTRUCTION_ARGS(JMP, $2); }
| T_ADDPC a_reg_imm { $$ = INSTRUCTION_ARGS(ADDPC, $2); }
- | T_NOP
- { $$ = INSTRUCTION(NOP); }
+ | T_NOP { $$ = INSTRUCTION(NOP); }
;
a_reg2: