Merge pull request 'fix some bug when there are bugs but build finish' (#4) from fix_bug_01 into main
Reviewed-on: https://external.feng-arch.cn:35127/fengqi/asm_parser/pulls/4
This commit is contained in:
commit
4728cf9651
@ -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