cmpp, don't exit(0) when reporting an error
This commit is contained in:
parent
83e3100917
commit
d9590f31c3
|
|
@ -133,7 +133,7 @@ void preprocess_mod_file (
|
||||||
sprintf(error_str, "ERROR - Could not open input .mod file: %s",
|
sprintf(error_str, "ERROR - Could not open input .mod file: %s",
|
||||||
filename);
|
filename);
|
||||||
print_error(error_str);
|
print_error(error_str);
|
||||||
return;
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
current_filename = filename;
|
current_filename = filename;
|
||||||
|
|
@ -145,7 +145,7 @@ void preprocess_mod_file (
|
||||||
sprintf(error_str, "ERROR - Could not open output .c: %s",
|
sprintf(error_str, "ERROR - Could not open output .c: %s",
|
||||||
output_filename);
|
output_filename);
|
||||||
print_error(error_str);
|
print_error(error_str);
|
||||||
return;
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
mod_ifs_table = &ifs_table;
|
mod_ifs_table = &ifs_table;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue