summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/errors.h
blob: 112669f46b4cb7a7cebc5fa08837d4536682bc33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* errors.h - declarations for error.c */

enum error_type { error, warning };

void line_error (char *format, ...);
void line_warn (char *format, ...);
void command_error (ELEMENT *e, char *format, ...);
void command_warn (ELEMENT *e, char *format, ...);
void wipe_errors (void);
void line_error_ext (enum error_type type, LINE_NR *cmd_line_nr,
                     char *format, ...);
void bug_message (char *format, ...);

char *dump_errors (void);