Fixed issue with strings in uxnasm

This commit is contained in:
neauoire 2021-09-01 13:04:56 -07:00
parent a6b99078de
commit 25858c3948
1 changed files with 1 additions and 1 deletions

View File

@ -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);