| INCBIN STRING {
$$ = yasm_bc_create_incbin($2, NULL, NULL, cur_line);
}
+ | INCBIN STRING ',' {
+ $$ = yasm_bc_create_incbin($2, NULL, NULL, cur_line);
+ }
| INCBIN STRING ',' expr {
$$ = yasm_bc_create_incbin($2, $4, NULL, cur_line);
}
+ | INCBIN STRING ',' expr ',' {
+ $$ = yasm_bc_create_incbin($2, $4, NULL, cur_line);
+ }
| INCBIN STRING ',' expr ',' expr {
$$ = yasm_bc_create_incbin($2, $4, $6, cur_line);
}
yasm_dvs_append(&$$, $1);
}
| datavals ',' dataval { yasm_dvs_append(&$1, $3); $$ = $1; }
+ | datavals ',' { $$ = $1; }
;
dataval: dvexpr { $$ = yasm_dv_create_expr($1); }
TESTS += modules/parsers/nasm/tests/nasm_test.sh
EXTRA_DIST += modules/parsers/nasm/tests/nasm_test.sh
+EXTRA_DIST += modules/parsers/nasm/tests/endcomma.asm
+EXTRA_DIST += modules/parsers/nasm/tests/endcomma.errwarn
+EXTRA_DIST += modules/parsers/nasm/tests/endcomma.hex
EXTRA_DIST += modules/parsers/nasm/tests/equlocal.asm
EXTRA_DIST += modules/parsers/nasm/tests/equlocal.errwarn
EXTRA_DIST += modules/parsers/nasm/tests/equlocal.hex