ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/BASS_parse/BASS.y
(Generate patch)

Comparing trunk/mdtools/BASS_parse/BASS.y (file contents):
Revision 11 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
Revision 118 by chuckv, Wed Sep 25 22:51:14 2002 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines