| # | Line 49 | Line 49 | |
|---|---|---|
| 49 | #include "node_list.h" | |
| 50 | #include "make_nodes.h" | |
| 51 | #include "parse_tree.h" | |
| 52 | + | #ifdef MPI |
| 53 | + | #include "../headers/mpiInterface.h" |
| 54 | + | #endif |
| 55 | ||
| 56 | extern int yylineno; | |
| 57 | ||
| # | Line 228 | Line 231 | int yyerror( char *err_msg ){ | |
| 231 | int yyerror( char *err_msg ){ | |
| 232 | ||
| 233 | fprintf( stderr, "yacc parse error in %s at line %d: %s\n", yyfile_name->my_name, yylineno, err_msg ); | |
| 234 | + | #ifdef MPI |
| 235 | + | mpiInterfaceExit(); |
| 236 | + | #endif |
| 237 | exit(8); | |
| 238 | return 0; | |
| 239 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |