ref: 86a28e8201d1ab0a00544228c44fbe7fef19d81d
parent: 95cd0c6e53e48648cc6cd51ef846371d1365de57
author: ISSOtm <[email protected]>
date: Mon Jan 13 10:12:55 EST 2020
Provide string arguments to errors in `constexpr_BankSection` How the f did it work before
--- a/src/asm/constexpr.c
+++ b/src/asm/constexpr.c
@@ -67,9 +67,9 @@
struct Section *pSection = out_FindSectionByName(tzSectionName);
if (!pSection)
- yyerror("Section \"%s\" doesn't exist");
+ yyerror("Section \"%s\" doesn't exist", tzSectionName);
else if (pSection->nBank == -1)
- yyerror("Section \"%s\"'s bank is not known yet");
+ yyerror("Section \"%s\"'s bank is not known yet", tzSectionName);
else
constexpr_Number(expr, pSection->nBank);
}