From da797b33c6ae6523d385af63a38b0162f3a0caca Mon Sep 17 00:00:00 2001 From: neauoire Date: Tue, 30 Nov 2021 10:27:35 -0800 Subject: [PATCH] (uxnasm) Stop on resolve failure --- src/uxnasm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uxnasm.c b/src/uxnasm.c index 12af867..6da762b 100644 --- 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