Move incbin slice sign check

The grammar's message is pretty generic, so this one is more useful.
This commit is contained in:
ISSOtm
2020-07-23 01:06:28 +02:00
parent ce47b57b03
commit 0600856167

View File

@@ -1077,7 +1077,7 @@ incbin : T_POP_INCBIN string {
if (oFailedOnMissingInclude)
YYACCEPT;
}
| T_POP_INCBIN string ',' uconst ',' uconst {
| T_POP_INCBIN string ',' const ',' const {
out_BinaryFileSlice($2, $4, $6);
if (oFailedOnMissingInclude)
YYACCEPT;