fix some bug when there are bugs but build finish
This commit is contained in:
parent
8803df0b88
commit
2345dc7627
@ -41,7 +41,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
program_bin[instr_count] = bin;
|
||||
instr_count++;
|
||||
} else if (ret == 3) {
|
||||
} else {
|
||||
printf("Error on line %d: %s\n", i + 1, line);
|
||||
return i + 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user