mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
rgbasm: bump MAXMACROARGS up to 256 from 9
This commit is contained in:
1 parent
1d174f37da
commit
91241b44da
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ extern struct sSymbol *tHashedSymbols[HASHSIZE];
|
||||
extern struct sSymbol *pPCSymbol;
|
||||
extern bool oDontExpandStrings;
|
||||
|
||||
#define MAXMACROARGS 9
|
||||
#define MAXMACROARGS 256
|
||||
#define MAXINCPATHS 16
|
||||
|
||||
#endif /* // ASM_H */
|
||||
+1
-1
@@ -436,7 +436,7 @@ sym_AddNewMacroArg(char *s)
|
||||
else
|
||||
newmacroargs[i] = NULL;
|
||||
} else
|
||||
yyerror("A maximum of 9 arguments allowed");
|
||||
yyerror("A maximum of %d arguments allowed", MAXMACROARGS);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user