diff options
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } %} |