cmpp, don't exit(0) when reporting an error

This commit is contained in:
rlar 2012-12-01 22:26:04 +01:00
parent 83e3100917
commit d9590f31c3
1 changed files with 2 additions and 2 deletions

View File

@ -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;