Code rewiev 1
This commit is contained in:
parent
3b3fb364cf
commit
2f90171c30
@ -39,7 +39,12 @@ int ntsys_compile_asm(char* filename, char* asm_out) {
|
||||
}
|
||||
rewind(fp);
|
||||
while ((st = ntsys_get_str(st, fp)) != NULL) {
|
||||
if (ntsys_asm_from_string(&mem_pos, st, fw) != EXIT_SUCCESS) return EXIT_FAILURE;
|
||||
if (ntsys_asm_from_string(&mem_pos, st, fw) != EXIT_SUCCESS) {
|
||||
free(st);
|
||||
fclose(fp);
|
||||
fclose(fw);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
free(st);
|
||||
fclose(fp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user