0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-30 09:43:02 +00:00

Fixed issue with string

This commit is contained in:
neauoire 2021-03-05 12:02:01 -08:00
parent 60bac13dd8
commit b20c150922

View file

@ -89,7 +89,6 @@ pushtext(char *s, int lit)
pushbyte(0x22, 0); pushbyte(0x22, 0);
while((c = s[i++])) while((c = s[i++]))
pushbyte(c, 0); pushbyte(c, 0);
pushbyte(' ', 0);
} }
Macro * Macro *
@ -285,7 +284,7 @@ pass1(FILE *f)
if(sihx(w)) if(sihx(w))
addr += slen(w) == 4 ? 2 : 1; addr += slen(w) == 4 ? 2 : 1;
else else
addr += slen(w) + 1; addr += slen(w);
} else if(w[0] == '@') { } else if(w[0] == '@') {
if(!makelabel(w + 1, addr, 0, NULL)) if(!makelabel(w + 1, addr, 0, NULL))
return error("Pass1 failed", w); return error("Pass1 failed", w);