From 25858c394837f0fac0aed4029b6c5836cc6ca7e4 Mon Sep 17 00:00:00 2001 From: neauoire Date: Wed, 1 Sep 2021 13:04:56 -0700 Subject: [PATCH] Fixed issue with strings in uxnasm --- src/uxnasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxnasm.c b/src/uxnasm.c index 52a11bb..d409f5c 100644 --- a/src/uxnasm.c +++ b/src/uxnasm.c @@ -359,7 +359,7 @@ pass2(FILE *f) return 0; continue; } - if(w[1] == '&') + if(w[1] == '&' && (w[0] == '.' || w[0] == ',' || w[0] == ';' || w[0] == ':')) scpy(sublabel(subw, scope, w + 2), w + 1, 64); if(!parsetoken(w)) return error("Pass 2 - Unknown label", w);