Browse Source

cmpp, remove dead code

pre-master-46
rlar 14 years ago
parent
commit
6757c48602
  1. 13
      src/xspice/cmpp/pp_mod.c

13
src/xspice/cmpp/pp_mod.c

@ -158,19 +158,6 @@ void preprocess_mod_file (
fprintf (mod_yyout, "#line 1 \"%s\"\n", filename);
mod_yylineno = 1;
if (!mod_yyin) {
sprintf (error_str, "Could not open .mod file: \"%s\"", filename);
print_error (error_str);
unlink (output_filename);
exit(1);
}
if (!mod_yyout) {
sprintf (error_str, "Could not create .c file: \"%s\"",
output_filename);
print_error (error_str);
unlink (output_filename);
exit(1);
}
if (mod_yyparse() || (mod_num_errors > 0)) {
sprintf (error_str, "Error parsing .mod file: \"%s\"", filename);

Loading…
Cancel
Save