/[bison]/bison/src/main.c
ViewVC logotype

Diff of /bison/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30.2.10 by akim, Fri Nov 30 10:45:14 2001 UTC revision 1.30.2.11 by akim, Wed Dec 5 09:24:21 2001 UTC
# Line 1  Line 1 
1  /* Top level entry point of bison,  /* Top level entry point of bison,
2     Copyright 1984, 1986, 1989, 1992, 1995, 2000     Copyright 1984, 1986, 1989, 1992, 1995, 2000, 2001
3     Free Software Foundation, Inc.     Free Software Foundation, Inc.
4    
5     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
# Line 40  Line 40 
40  /* The name this program was run with, for messages.  */  /* The name this program was run with, for messages.  */
41  char *program_name;  char *program_name;
42    
 extern void berror PARAMS((const char *));  
43    
44  int  int
45  main (int argc, char *argv[])  main (int argc, char *argv[])
# Line 124  main (int argc, char *argv[]) Line 123  main (int argc, char *argv[])
123    
124    return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;    return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS;
125  }  }
   
 /* Abort for an internal error denoted by string S.  */  
   
 void  
 berror (const char *s)  
 {  
   fprintf (stderr, _("%s: internal error: %s\n"), program_name, s);  
   abort ();  
 }  

Legend:
Removed from v.1.30.2.10  
changed lines
  Added in v.1.30.2.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26