Fixed issue with string

This commit is contained in:
neauoire 2021-03-05 12:02:01 -08:00
parent 60bac13dd8
commit b20c150922
1 changed files with 1 additions and 2 deletions

View File

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