shithub: rgbds

Download patch

ref: 060085616746353543a4a6aefb9a8a05a82461ee
parent: ce47b57b0349b4c1ee128e9536d713c6994966bb
author: ISSOtm <[email protected]>
date: Wed Jul 22 21:06:28 EDT 2020

Move incbin slice sign check

The grammar's message is pretty generic, so this one is more useful.

--- a/src/asm/asmy.y
+++ b/src/asm/asmy.y
@@ -1077,7 +1077,7 @@
 			if (oFailedOnMissingInclude)
 				YYACCEPT;
 		}
-		| T_POP_INCBIN string ',' uconst ',' uconst {
+		| T_POP_INCBIN string ',' const ',' const {
 			out_BinaryFileSlice($2, $4, $6);
 			if (oFailedOnMissingInclude)
 				YYACCEPT;