Go to the source code of this file.
|
void | fatal (char *msg) |
|
void | no_space (void) |
|
void | open_error (char *filename) |
|
void | unexpected_EOF (void) |
|
void | syntax_error (int st_lineno, char *st_line, char *st_cptr) |
|
void | unterminated_comment (int c_lineno, char *c_line, char *c_cptr) |
|
void | unterminated_string (int s_lineno, char *s_line, char *s_cptr) |
|
void | unterminated_text (int t_lineno, char *t_line, char *t_cptr) |
|
void | unterminated_union (int u_lineno, char *u_line, char *u_cptr) |
|
void | over_unionized (char *u_cptr) |
|
void | illegal_tag (int t_lineno, char *t_line, char *t_cptr) |
|
void | illegal_character (char *c_cptr) |
|
void | used_reserved (char *s) |
|
void | tokenized_start (char *s) |
|
void | retyped_warning (char *s) |
|
void | reprec_warning (char *s) |
|
void | revalued_warning (char *s) |
|
void | terminal_start (char *s) |
|
void | restarted_warning (void) |
|
void | no_grammar (void) |
|
void | terminal_lhs (int s_lineno) |
|
void | prec_redeclared (void) |
|
void | unterminated_action (int a_lineno, char *a_line, char *a_cptr) |
|
void | dollar_warning (int a_lineno, int i) |
|
void | dollar_error (int a_lineno, char *a_line, char *a_cptr) |
|
void | untyped_lhs (void) |
|
void | untyped_rhs (int i, char *s) |
|
void | unknown_rhs (int i) |
|
void | default_action_warning (void) |
|
void | undefined_goal (char *s) |
|
void | undefined_symbol_warning (char *s) |
|
void default_action_warning |
( |
void |
| ) |
|
Definition at line 295 of file error.c.
297 fprintf(
stderr,
"%s: warning - line %d of \"%s\", the default action assigns an \
void dollar_error |
( |
int |
a_lineno, |
|
|
char * |
a_line, |
|
|
char * |
a_cptr |
|
) |
| |
Definition at line 258 of file error.c.
260 fprintf(
stderr,
"%s: error - line %d of \"%s\", illegal $-name\n",
262 print_pos(a_line, a_cptr);
void dollar_warning |
( |
int |
a_lineno, |
|
|
int |
i |
|
) |
| |
Definition at line 250 of file error.c.
252 fprintf(
stderr,
"%s: warning - line %d of \"%s\", $%d references beyond the \
void illegal_character |
( |
char * |
c_cptr | ) |
|
Definition at line 145 of file error.c.
147 fprintf(
stderr,
"%s: error - line %d of \"%s\", illegal character\n",
149 print_pos(
line, c_cptr);
void illegal_tag |
( |
int |
t_lineno, |
|
|
char * |
t_line, |
|
|
char * |
t_cptr |
|
) |
| |
Definition at line 135 of file error.c.
137 fprintf(
stderr,
"%s: error - line %d of \"%s\", illegal tag\n",
139 print_pos(t_line, t_cptr);
Definition at line 214 of file error.c.
216 fprintf(
stderr,
"%s: error - line %d of \"%s\", no grammar has been \
void open_error |
( |
char * |
filename | ) |
|
Definition at line 31 of file error.c.
33 fprintf(
stderr,
"%s: fatal - cannot open \"%s\"\n",
myname, filename);
void over_unionized |
( |
char * |
u_cptr | ) |
|
Definition at line 125 of file error.c.
127 fprintf(
stderr,
"%s: error - line %d of \"%s\", too many %%union \ 129 print_pos(
line, u_cptr);
void prec_redeclared |
( |
void |
| ) |
|
Definition at line 232 of file error.c.
234 fprintf(
stderr,
"%s: warning - line %d of \"%s\", conflicting %%prec \
void reprec_warning |
( |
char * |
s | ) |
|
Definition at line 181 of file error.c.
183 fprintf(
stderr,
"%s: warning - line %d of \"%s\", the precedence of %s has been \
void restarted_warning |
( |
void |
| ) |
|
Definition at line 206 of file error.c.
208 fprintf(
stderr,
"%s: warning - line %d of \"%s\", the start symbol has been \
void retyped_warning |
( |
char * |
s | ) |
|
Definition at line 173 of file error.c.
175 fprintf(
stderr,
"%s: warning - line %d of \"%s\", the type of %s has been \
void revalued_warning |
( |
char * |
s | ) |
|
Definition at line 189 of file error.c.
191 fprintf(
stderr,
"%s: warning - line %d of \"%s\", the value of %s has been \
void syntax_error |
( |
int |
st_lineno, |
|
|
char * |
st_line, |
|
|
char * |
st_cptr |
|
) |
| |
Definition at line 75 of file error.c.
77 fprintf(
stderr,
"%s: error - line %d of \"%s\", syntax error\n",
79 print_pos(st_line, st_cptr);
void terminal_lhs |
( |
int |
s_lineno | ) |
|
Definition at line 223 of file error.c.
225 fprintf(
stderr,
"%s: error - line %d of \"%s\", a token appears on the lhs \
void terminal_start |
( |
char * |
s | ) |
|
Definition at line 197 of file error.c.
199 fprintf(
stderr,
"%s: error - line %d of \"%s\", the start symbol %s is a \
void tokenized_start |
( |
char * |
s | ) |
|
Definition at line 164 of file error.c.
166 fprintf(
stderr,
"%s: error - line %d of \"%s\", the start symbol %s cannot be \
void undefined_goal |
( |
char * |
s | ) |
|
Definition at line 303 of file error.c.
305 fprintf(
stderr,
"%s: error - the start symbol %s is undefined\n",
myname, s);
void undefined_symbol_warning |
( |
char * |
s | ) |
|
Definition at line 311 of file error.c.
313 fprintf(
stderr,
"%s: warning - the symbol %s is undefined\n",
myname, s);
void unexpected_EOF |
( |
void |
| ) |
|
Definition at line 39 of file error.c.
41 fprintf(
stderr,
"%s: error - line %d of \"%s\", unexpected end-of-file\n",
void unknown_rhs |
( |
int |
i | ) |
|
Definition at line 286 of file error.c.
288 fprintf(
stderr,
"%s: error - line %d of \"%s\", $%d is untyped\n",
void unterminated_action |
( |
int |
a_lineno, |
|
|
char * |
a_line, |
|
|
char * |
a_cptr |
|
) |
| |
Definition at line 240 of file error.c.
242 fprintf(
stderr,
"%s: error - line %d of \"%s\", unterminated action\n",
244 print_pos(a_line, a_cptr);
void unterminated_comment |
( |
int |
c_lineno, |
|
|
char * |
c_line, |
|
|
char * |
c_cptr |
|
) |
| |
Definition at line 85 of file error.c.
87 fprintf(
stderr,
"%s: error - line %d of \"%s\", unmatched /*\n",
89 print_pos(c_line, c_cptr);
void unterminated_string |
( |
int |
s_lineno, |
|
|
char * |
s_line, |
|
|
char * |
s_cptr |
|
) |
| |
Definition at line 95 of file error.c.
97 fprintf(
stderr,
"%s: error - line %d of \"%s\", unterminated string\n",
99 print_pos(s_line, s_cptr);
void unterminated_text |
( |
int |
t_lineno, |
|
|
char * |
t_line, |
|
|
char * |
t_cptr |
|
) |
| |
Definition at line 105 of file error.c.
107 fprintf(
stderr,
"%s: error - line %d of \"%s\", unmatched %%{\n",
109 print_pos(t_line, t_cptr);
void unterminated_union |
( |
int |
u_lineno, |
|
|
char * |
u_line, |
|
|
char * |
u_cptr |
|
) |
| |
Definition at line 115 of file error.c.
117 fprintf(
stderr,
"%s: error - line %d of \"%s\", unterminated %%union \ 119 print_pos(u_line, u_cptr);
void untyped_lhs |
( |
void |
| ) |
|
Definition at line 268 of file error.c.
270 fprintf(
stderr,
"%s: error - line %d of \"%s\", $$ is untyped\n",
void untyped_rhs |
( |
int |
i, |
|
|
char * |
s |
|
) |
| |
Definition at line 277 of file error.c.
279 fprintf(
stderr,
"%s: error - line %d of \"%s\", $%d (%s) is untyped\n",
void used_reserved |
( |
char * |
s | ) |
|
Definition at line 155 of file error.c.
157 fprintf(
stderr,
"%s: error - line %d of \"%s\", illegal use of reserved symbol \