ref: 48ad3973a96ab54df73a52207ec8d47e8bf5bd25
parent: f6f25296a01bd5b8c2382ebda2eff45323280506
author: ISSOtm <[email protected]>
date: Sat Mar 7 13:04:13 EST 2020
Tell the user about "label"s instead of "relocatable"s That's the common term, and even the manual uses it.
--- a/src/asm/rpn.c
+++ b/src/asm/rpn.c
@@ -177,7 +177,7 @@
rpn_Init(expr);
if (sym && !sym_IsLabel(sym)) {
- yyerror("BANK argument must be a relocatable identifier");
+ yyerror("BANK argument must be a label");
} else {
sym_Ref(tzSym);
/* If the symbol didn't exist, `sym_Ref` created it */
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -624,10 +624,10 @@
* coherency with sym_AddReloc and sym_AddLocalReloc).
*/
if (!sym_IsDefined(nsym1))
- fatalerror("Relocatable symbol \"%s\" isn't defined.", tzSym1);
+ fatalerror("Label \"%s\" isn't defined.", tzSym1);
if (!sym_IsDefined(nsym2))
- fatalerror("Relocatable symbol \"%s\" isn't defined.", tzSym2);
+ fatalerror("Label \"%s\" isn't defined.", tzSym2);
/*
* Both of them must be in the same section for the difference to be