(uxnasm) Stop assembling on error
This commit is contained in:
parent
af87818228
commit
03caf9317b
|
@ -1,6 +1,6 @@
|
||||||
( init )
|
( init )
|
||||||
|
|
||||||
%emit ( byte -- ) { ( macro comment ) #18 DEO }
|
%emit ( byte -- ) { #18 DEO }
|
||||||
|
|
||||||
|0100 @program
|
|0100 @program
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@ BRK
|
||||||
|
|
||||||
@program/extend BRK
|
@program/extend BRK
|
||||||
|
|
||||||
@hello-word "Hello 20 "World! 00
|
@hello-word "Hello 20 "World? 00
|
||||||
|
|
|
@ -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 makesublabel(x) push(scat(scat(scpy(scope, sublabel, 0x40), "/"), x), 0)
|
||||||
#define findlabel(x) finditem(x, labels, label_len)
|
#define findlabel(x) finditem(x, labels, label_len)
|
||||||
#define findmacro(x) finditem(x, macros, macro_len)
|
#define findmacro(x) finditem(x, macros, macro_len)
|
||||||
#define error_top(name, msg) !!fprintf(stderr, "%s: %s\n", name, msg)
|
#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_asm(name) !fprintf(stderr, "%s: %s in @%s, %s:%d.\n", name, token, scope, source, ln)
|
||||||
|
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue