From 48ad3973a96ab54df73a52207ec8d47e8bf5bd25 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 7 Mar 2020 18:04:13 +0100 Subject: [PATCH] Tell the user about "label"s instead of "relocatable"s That's the common term, and even the manual uses it. --- src/asm/rpn.c | 2 +- src/asm/symbol.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/asm/rpn.c b/src/asm/rpn.c index 24e549c3..7553ac0b 100644 --- a/src/asm/rpn.c +++ b/src/asm/rpn.c @@ -177,7 +177,7 @@ void rpn_BankSymbol(struct Expression *expr, char const *tzSym) 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 */ diff --git a/src/asm/symbol.c b/src/asm/symbol.c index d6db6e61..a7e40c95 100644 --- a/src/asm/symbol.c +++ b/src/asm/symbol.c @@ -624,10 +624,10 @@ bool sym_IsRelocDiffDefined(char const *tzSym1, char const *tzSym2) * 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