ref: a21cef71908be8d93009542a324dceef9c14d855
parent: 12d82eb768e4336ad413d68fb049ecde20acda4c
author: ISSOtm <eldredhabert0@gmail.com>
date: Fri Aug 30 16:57:11 EDT 2019
Say which macro argument caused an error when one does
--- a/src/asm/globlex.c
+++ b/src/asm/globlex.c
@@ -299,9 +299,9 @@
if (s != NULL)
yyunputstr(s);
else
- yyerror("Macro argument not defined");
+ yyerror("Macro argument '\\%c' not defined", src[1]);
} else {
- yyerror("Invalid macro argument");
+ yyerror("Invalid macro argument '\\%c'", src[1]);
}
return 0;
}