mirror of https://git.sr.ht/~rabbits/uxn
(uxnasm) Housekeeping
This commit is contained in:
parent
aedc593434
commit
24319c55e9
|
@ -321,8 +321,8 @@ parse(char *w, FILE *f, Context *ctx)
|
||||||
case '$':
|
case '$':
|
||||||
case '|': return !makepad(w) ? error_asm("Invalid padding") : 1;
|
case '|': return !makepad(w) ? error_asm("Invalid padding") : 1;
|
||||||
case '[':
|
case '[':
|
||||||
case ']': break;
|
case ']': return 1;
|
||||||
default:
|
}
|
||||||
if(sihx(w))
|
if(sihx(w))
|
||||||
return writehex(w, ctx);
|
return writehex(w, ctx);
|
||||||
else if(isopcode(w))
|
else if(isopcode(w))
|
||||||
|
@ -331,7 +331,6 @@ parse(char *w, FILE *f, Context *ctx)
|
||||||
return walkmacro(m, ctx);
|
return walkmacro(m, ctx);
|
||||||
else
|
else
|
||||||
return addref(w, ' ', ptr + 1) && writebyte(0x60, ctx) && writeshort(0xffff);
|
return addref(w, ' ', ptr + 1) && writebyte(0x60, ctx) && writeshort(0xffff);
|
||||||
}
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue