commit da797b33c6ae6523d385af63a38b0162f3a0caca parent 074a049ff2e41eb0efb334adbc83785571c362f4 Author: neauoire <aliceffekt@gmail.com> Date: Tue, 30 Nov 2021 10:27:35 -0800 (uxnasm) Stop on resolve failure Diffstat:
M | src/uxnasm.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -382,8 +382,7 @@ assemble(FILE *f) while(fscanf(f, "%63s", w) == 1) if(!parse(w, f)) return error("Unknown token", w); - resolve(); - return 1; + return resolve(); } static void