(uxnasm) Stop on resolve failure

This commit is contained in:
neauoire 2021-11-30 10:27:35 -08:00
parent 074a049ff2
commit da797b33c6
1 changed files with 1 additions and 2 deletions

View File

@ -382,8 +382,7 @@ assemble(FILE *f)
while(fscanf(f, "%63s", w) == 1) while(fscanf(f, "%63s", w) == 1)
if(!parse(w, f)) if(!parse(w, f))
return error("Unknown token", w); return error("Unknown token", w);
resolve(); return resolve();
return 1;
} }
static void static void