error.c File Reference

#include "defs.h"

Include dependency graph for error.c:

Go to the source code of this file.

Functions

 fatal (char *msg)
 no_space ()
 open_error (char *filename)
 unexpected_EOF ()
 print_pos (char *st_line, char *st_cptr)
 syntax_error (int st_lineno, char *st_line, char *st_cptr)
 unterminated_comment (int c_lineno, char *c_line, char *c_cptr)
 unterminated_string (int s_lineno, char *s_line, char *s_cptr)
 unterminated_text (int t_lineno, char *t_line, char *t_cptr)
 unterminated_union (int u_lineno, char *u_line, char *u_cptr)
 over_unionized (char *u_cptr)
 illegal_tag (int t_lineno, char *t_line, char *t_cptr)
 illegal_character (char *c_cptr)
 used_reserved (char *s)
 tokenized_start (char *s)
 retyped_warning (char *s)
 reprec_warning (char *s)
 revalued_warning (char *s)
 terminal_start (char *s)
 restarted_warning ()
 no_grammar ()
 terminal_lhs (int s_lineno)
 prec_redeclared ()
 unterminated_action (int a_lineno, char *a_line, char *a_cptr)
 dollar_warning (int a_lineno, int i)
 dollar_error (int a_lineno, char *a_line, char *a_cptr)
 untyped_lhs ()
 untyped_rhs (int i, char *s)
 unknown_rhs (int i)
 default_action_warning ()
 undefined_goal (char *s)
 undefined_symbol_warning (char *s)


Function Documentation

default_action_warning  ) 
 

Definition at line 298 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by end_rule().

dollar_error int  a_lineno,
char *  a_line,
char *  a_cptr
 

Definition at line 259 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by copy_action().

dollar_warning int  a_lineno,
int  i
 

Definition at line 250 of file error.c.

References fprintf(), input_file_name, myname, and stderr.

Referenced by copy_action().

fatal char *  msg  ) 
 

Definition at line 6 of file error.c.

References done, fprintf(), myname, and stderr.

illegal_character char *  c_cptr  ) 
 

Definition at line 146 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, print_pos(), and stderr.

illegal_tag int  t_lineno,
char *  t_line,
char *  t_cptr
 

Definition at line 134 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by get_tag().

no_grammar  ) 
 

Definition at line 214 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by advance_to_start().

no_space  ) 
 

Definition at line 14 of file error.c.

References done, fprintf(), myname, and stderr.

Referenced by allocate(), cachec(), create_file_names(), create_symbol_table(), dup_line(), expand_items(), expand_rules(), get_line(), initialize_grammar(), initialize_states(), make_bucket(), output_debug(), pack_grammar(), pack_names(), pack_vector(), read_declarations(), set_nullable(), unused_rules(), and verbose().

open_error char *  filename  ) 
 

Definition at line 21 of file error.c.

References done, fprintf(), myname, and stderr.

Referenced by open_files(), output_semantic_actions(), and output_stored_text().

over_unionized char *  u_cptr  ) 
 

Definition at line 124 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, print_pos(), and stderr.

Referenced by copy_union().

prec_redeclared  ) 
 

Definition at line 231 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by mark_symbol().

print_pos char *  st_line,
char *  st_cptr
 

Definition at line 37 of file error.c.

References isprint, putc, s, and stderr.

Referenced by dollar_error(), illegal_character(), illegal_tag(), over_unionized(), syntax_error(), unterminated_action(), unterminated_comment(), unterminated_string(), unterminated_text(), and unterminated_union().

reprec_warning char *  s  ) 
 

Definition at line 182 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

restarted_warning  ) 
 

Definition at line 207 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by declare_start().

retyped_warning char *  s  ) 
 

Definition at line 174 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by declare_tokens(), and declare_types().

revalued_warning char *  s  ) 
 

Definition at line 190 of file error.c.

References fprintf(), input_file_name, lineno, myname, and stderr.

syntax_error int  st_lineno,
char *  st_line,
char *  st_cptr
 

Definition at line 64 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by advance_to_start(), copy_ident(), declare_start(), declare_types(), mark_symbol(), and read_declarations().

terminal_lhs int  s_lineno  ) 
 

Definition at line 222 of file error.c.

References done, fprintf(), input_file_name, myname, and stderr.

Referenced by start_rule().

terminal_start char *  s  ) 
 

Definition at line 198 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by declare_start().

tokenized_start char *  s  ) 
 

Definition at line 165 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by declare_tokens().

undefined_goal char *  s  ) 
 

Definition at line 305 of file error.c.

References done, fprintf(), myname, and stderr.

Referenced by check_symbols().

undefined_symbol_warning char *  s  ) 
 

Definition at line 313 of file error.c.

References fprintf(), myname, and stderr.

Referenced by check_symbols().

unexpected_EOF  ) 
 

Definition at line 29 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by copy_ident(), declare_start(), declare_tokens(), declare_types(), get_tag(), and read_declarations().

unknown_rhs int  i  ) 
 

Definition at line 289 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

unterminated_action int  a_lineno,
char *  a_line,
char *  a_cptr
 

Definition at line 238 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

unterminated_comment int  c_lineno,
char *  c_line,
char *  c_cptr
 

Definition at line 76 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by copy_text(), and copy_union().

unterminated_string int  s_lineno,
char *  s_line,
char *  s_cptr
 

Definition at line 88 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by copy_text(), copy_union(), and get_literal().

unterminated_text int  t_lineno,
char *  t_line,
char *  t_cptr
 

Definition at line 100 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by copy_text().

unterminated_union int  u_lineno,
char *  u_line,
char *  u_cptr
 

Definition at line 112 of file error.c.

References done, fprintf(), input_file_name, myname, print_pos(), and stderr.

Referenced by copy_union().

untyped_lhs  ) 
 

Definition at line 271 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

untyped_rhs int  i,
char *  s
 

Definition at line 279 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

used_reserved char *  s  ) 
 

Definition at line 156 of file error.c.

References done, fprintf(), input_file_name, lineno, myname, and stderr.

Referenced by get_name().


Generated on Fri Apr 14 22:58:21 2006 for minix by  doxygen 1.4.6