commit 25858c394837f0fac0aed4029b6c5836cc6ca7e4
parent a6b99078decf1312040accaef88eaf8920743ace
Author: neauoire <aliceffekt@gmail.com>
Date:   Wed,  1 Sep 2021 13:04:56 -0700
Fixed issue with strings in uxnasm
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);