diff --git a/include/asm/asm.h b/include/asm/asm.h index 8f743803..dbbe0bc3 100644 --- a/include/asm/asm.h +++ b/include/asm/asm.h @@ -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 */ diff --git a/src/asm/symbol.c b/src/asm/symbol.c index af296882..a99703be 100644 --- a/src/asm/symbol.c +++ b/src/asm/symbol.c @@ -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