/[bison]/bison/src/complain.h
ViewVC logotype

Diff of /bison/src/complain.h

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

revision 1.2.2.1 by akim, Thu Sep 20 17:08:42 2001 UTC revision 1.2.2.2 by akim, Mon Nov 26 11:26:35 2001 UTC
# Line 1  Line 1 
1  /* Declaration for error-reporting function for Bison.  /* Declaration for error-reporting function for Bison.
2     Copyright 2000 Free Software Foundation, Inc.     Copyright 2000, 2001 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or modify it     This program is free software; you can redistribute it and/or modify it
5     under the terms of the GNU General Public License as published by the     under the terms of the GNU General Public License as published by the
# Line 40  extern void complain (const char *format Line 40  extern void complain (const char *format
40  extern void fatal (const char *format, ...)  extern void fatal (const char *format, ...)
41       __attribute__ ((__format__ (__printf__, 1, 2)));       __attribute__ ((__format__ (__printf__, 1, 2)));
42    
 /* Print a message with `fprintf (stderr, FORMAT, ...)';  
    if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).  
    If STATUS is nonzero, terminate the program with `exit (STATUS)'.  */  
   
 extern void error (int status, int errnum,  
                    const char *format, ...)  
      __attribute__ ((__format__ (__printf__, 3, 4)));  
   
43  #else  #else
44  void warn ();  void warn ();
45  void complain ();  void complain ();
46  void error ();  void fatal ();
47  #endif  #endif
48    
49  /* Position in the current input file. */  /* Position in the current input file. */

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

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