mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
cmpp, don't exit(0) when reporting an error
This commit is contained in:
@@ -133,7 +133,7 @@ void preprocess_mod_file (
|
||||
sprintf(error_str, "ERROR - Could not open input .mod file: %s",
|
||||
filename);
|
||||
print_error(error_str);
|
||||
return;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
current_filename = filename;
|
||||
@@ -145,7 +145,7 @@ void preprocess_mod_file (
|
||||
sprintf(error_str, "ERROR - Could not open output .c: %s",
|
||||
output_filename);
|
||||
print_error(error_str);
|
||||
return;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
mod_ifs_table = &ifs_table;
|
||||
|
||||
Reference in New Issue
Block a user