(uxnasm) Report error when walking comment
This commit is contained in:
parent
4c7ec082f5
commit
fe4103cadb
|
@ -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 New Issue