From 54ece814dea2b5353aaf62b264165cc8c9747b75 Mon Sep 17 00:00:00 2001 From: neauoire Date: Tue, 8 Jun 2021 08:20:00 -0700 Subject: [PATCH] Fixed error reports in assembler --- src/uxnasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxnasm.c b/src/uxnasm.c index 9747fec..ae0c770 100644 --- a/src/uxnasm.c +++ b/src/uxnasm.c @@ -275,7 +275,7 @@ parsetoken(char *w) else if(slen(w) == 4) pushshort(shex(w), 0); else - return error("Hex value length is invalid", w); + return error("Invalid hexadecimal value", w); return 1; } else if((m = findmacro(w))) { int i; @@ -309,7 +309,7 @@ pass1(FILE *f) scpy(w + 1, scope, 64); } else if(w[0] == '&') { if(!makelabel(sublabel(subw, scope, w + 1), addr)) - return error("Ivalid sublabel", w); + return error("Invalid sublabel", w); } else if(sihx(w)) addr += slen(w) / 2; else