diff --git a/etc/hello.tal b/etc/hello.tal index 13bdfab..0100cef 100644 --- a/etc/hello.tal +++ b/etc/hello.tal @@ -1,6 +1,6 @@ ( init ) -%emit ( byte -- ) { ( macro comment ) #18 DEO } +%emit ( byte -- ) { #18 DEO } |0100 @program @@ -23,4 +23,4 @@ BRK @program/extend BRK -@hello-word "Hello 20 "World! 00 +@hello-word "Hello 20 "World? 00 diff --git a/src/uxnasm.c b/src/uxnasm.c index 59a0900..24088c3 100644 --- a/src/uxnasm.c +++ b/src/uxnasm.c @@ -54,8 +54,8 @@ static char *push(char *s, char c) { char *o = dictnext; while((*dictnext++ = *s #define makesublabel(x) push(scat(scat(scpy(scope, sublabel, 0x40), "/"), x), 0) #define findlabel(x) finditem(x, labels, label_len) #define findmacro(x) finditem(x, macros, macro_len) -#define error_top(name, msg) !!fprintf(stderr, "%s: %s\n", name, msg) -#define error_asm(name) !!fprintf(stderr, "%s: %s in @%s, %s:%d.\n", name, token, scope, source, ln) +#define error_top(name, msg) !fprintf(stderr, "%s: %s\n", name, msg) +#define error_asm(name) !fprintf(stderr, "%s: %s in @%s, %s:%d.\n", name, token, scope, source, ln) /* clang-format on */