Say which macro argument caused an error when one does

This commit is contained in:
ISSOtm
2019-08-30 20:57:11 +02:00
parent 12d82eb768
commit a21cef7190

View File

@@ -299,9 +299,9 @@ uint32_t PutMacroArg(char *src, uint32_t size)
if (s != NULL) if (s != NULL)
yyunputstr(s); yyunputstr(s);
else else
yyerror("Macro argument not defined"); yyerror("Macro argument '\\%c' not defined", src[1]);
} else { } else {
yyerror("Invalid macro argument"); yyerror("Invalid macro argument '\\%c'", src[1]);
} }
return 0; return 0;
} }