summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.y b/parser.y
index 4396fd1..76748de 100644
--- a/parser.y
+++ b/parser.y
@@ -12,8 +12,8 @@ void yyerror(const char *msg)
#define INSTRUCTION_ARGS(m,a) (struct instruction) { MNEM_ ## m, a }
#define INSTRUCTION(m) (struct instruction) { MNEM_ ## m }
-#define MKARGS(...) (struct arguments) { __VA_ARGS__ }
-#define MKARGVALUE(v) (struct argument) { (v) }
+#define MKARGS(...) (struct arguments) { { __VA_ARGS__ } }
+#define MKARGVALUE(v) (struct argument) { .value = (v) }
%}