From 3ec0ba288f355c717f1449625bc0aba3c4c9b104 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 14 Jan 2017 16:15:12 -0600 Subject: nqasm: Reformat nop grammar --- parser.y | 3 +-- 1 file changed, 1 insertion(+), 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: -- cgit v1.2.3