ref: 91241b44daebcf120aa9ffb858bb855e485ae410
parent: 1d174f37da1407b7fbcbe46f48cf2697181c39ec
author: yenatch <[email protected]>
date: Mon Jan 19 18:28:09 EST 2015
rgbasm: bump MAXMACROARGS up to 256 from 9
--- a/include/asm/asm.h
+++ b/include/asm/asm.h
@@ -29,7 +29,7 @@
extern struct sSymbol *pPCSymbol;
extern bool oDontExpandStrings;
-#define MAXMACROARGS 9
+#define MAXMACROARGS 256
#define MAXINCPATHS 16
#endif /* // ASM_H */
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -436,7 +436,7 @@
else
newmacroargs[i] = NULL;
} else
- yyerror("A maximum of 9 arguments allowed");
+ yyerror("A maximum of %d arguments allowed", MAXMACROARGS);
}
void