rgbasm: bump MAXMACROARGS up to 256 from 9

This commit is contained in:
yenatch
2015-01-19 23:28:09 -08:00
parent 1d174f37da
commit 91241b44da
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ extern struct sSymbol *tHashedSymbols[HASHSIZE];
extern struct sSymbol *pPCSymbol; extern struct sSymbol *pPCSymbol;
extern bool oDontExpandStrings; extern bool oDontExpandStrings;
#define MAXMACROARGS 9 #define MAXMACROARGS 256
#define MAXINCPATHS 16 #define MAXINCPATHS 16
#endif /* // ASM_H */ #endif /* // ASM_H */

View File

@@ -436,7 +436,7 @@ sym_AddNewMacroArg(char *s)
else else
newmacroargs[i] = NULL; newmacroargs[i] = NULL;
} else } else
yyerror("A maximum of 9 arguments allowed"); yyerror("A maximum of %d arguments allowed", MAXMACROARGS);
} }
void void