mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Move incbin slice sign check
The grammar's message is pretty generic, so this one is more useful.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user