mirror of
https://git.sr.ht/~rabbits/uxn
synced 2025-01-03 14:11:11 +00:00
(uxnasm) Report error when walking comment
This commit is contained in:
parent
4c7ec082f5
commit
fe4103cadb
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ makemacro(char *name, FILE *f)
|
|||
if(word[0] == '%') return error_asm("Macro error");
|
||||
if(m->len >= 0x40) return error_asm("Macro size exceeded");
|
||||
if(word[0] == '(') {
|
||||
walkcomment(word, f);
|
||||
if(!walkcomment(word, f)) return error_asm("Comment error");
|
||||
continue;
|
||||
}
|
||||
scpy(word, m->items[m->len++], 0x40);
|
||||
|
|
Loading…
Reference in a new issue