uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 54ece814dea2b5353aaf62b264165cc8c9747b75
parent 7b3d3505b5156c30090b609300902d34718ad9cc
Author: neauoire <aliceffekt@gmail.com>
Date:   Tue,  8 Jun 2021 08:20:00 -0700

Fixed error reports in assembler

Diffstat:
Msrc/uxnasm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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