From 16324215b26170b5add01028d2bc924c79d6b393 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Aug 2006 14:47:21 -0700 Subject: [PATCH] Fix respecting of instruction options (misunderstood default action behavior). --- assembler/gram.y | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assembler/gram.y b/assembler/gram.y index 6357044e..e234fb54 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -594,7 +594,10 @@ instoption_list: instoption instoption_list /* XXX: fill me in. alignctrl, comprctrl, threadctrl, depctrl, maskctrl, * debugctrl, sendctrl */ -instoption: ALIGN1 | ALIGN16 | MASK_DISABLE | EOT +instoption: ALIGN1 { $$ = ALIGN1; } + | ALIGN16 { $$ = ALIGN16; } + | MASK_DISABLE { $$ = MASK_DISABLE; } + | EOT { $$ = EOT; } ; %%