diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-14 16:15:12 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-15 23:19:24 -0600 |
commit | 3ec0ba288f355c717f1449625bc0aba3c4c9b104 (patch) | |
tree | e3ffa95080510dae2d39909b2d774fd0d4533588 | |
parent | ca8e5e46c4d3bcb402cb3439a9a1cdc42d6d45c7 (diff) |
nqasm: Reformat nop grammar
-rw-r--r-- | parser.y | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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: |