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