1 |
/* Declaration for error-reporting function |
/* Declaration for error-reporting function |
2 |
Copyright 1995-1997, 2000 Free Software Foundation, Inc. |
Copyright 1995-1997, 2000, 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of the GNU C Library. Its master source is NOT part of |
This file is part of the GNU C Library. Its master source is NOT part of |
5 |
the C library, however. The master source lives in /gd/gnu/lib. |
the C library, however. The master source lives in /gd/gnu/lib. |
57 |
/* If NULL, error will flush stdout, then print on stderr the program |
/* If NULL, error will flush stdout, then print on stderr the program |
58 |
name, a colon and a space. Otherwise, error will call this |
name, a colon and a space. Otherwise, error will call this |
59 |
function without parameters instead. */ |
function without parameters instead. */ |
60 |
void (*error_print_progname) (void); |
extern void (*error_print_progname) (void); |
61 |
|
|
62 |
#else |
#else |
63 |
void error (); |
extern void error (); |
64 |
void error_at_line (); |
extern void error_at_line (); |
65 |
void (*error_print_progname) (); |
extern void (*error_print_progname) (); |
66 |
#endif |
#endif |
67 |
|
|
68 |
/* This variable is incremented each time `error' is called. */ |
/* This variable is incremented each time `error' is called. */ |
69 |
unsigned int error_message_count; |
extern unsigned int error_message_count; |
70 |
|
|
71 |
/* Sometimes we want to have at most one error per line. This |
/* Sometimes we want to have at most one error per line. This |
72 |
variable controls whether this mode is selected or not. */ |
variable controls whether this mode is selected or not. */ |
73 |
int error_one_per_line; |
extern int error_one_per_line; |
74 |
|
|
75 |
END_C_DECLS |
END_C_DECLS |
76 |
|
|
77 |
#endif /* !M4_ERROR_H */ |
#endif /* !M4_ERROR_H */ |
|
|
|