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)
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;
}