64 |
if (complain_message_count) |
if (complain_message_count) |
65 |
exit (1); |
exit (1); |
66 |
|
|
67 |
/* find useless nonterminals and productions and reduce the grammar. In |
/* Find useless nonterminals and productions and reduce the grammar. |
68 |
file reduce.c */ |
In file reduce.c. */ |
69 |
reduce_grammar (); |
reduce_grammar (); |
70 |
|
|
71 |
/* record other info about the grammar. In files derives and nullable. */ |
/* Record other info about the grammar. In files derives and |
72 |
|
nullable. */ |
73 |
set_derives (); |
set_derives (); |
74 |
set_nullable (); |
set_nullable (); |
75 |
|
|
76 |
/* convert to nondeterministic finite state machine. In file LR0. |
/* Convert to nondeterministic finite state machine. In file LR0. |
77 |
See state.h for more info. */ |
See state.h for more info. */ |
78 |
generate_states (); |
generate_states (); |
79 |
|
|
104 |
/* Output the tables and the parser to ftable. In file output. */ |
/* Output the tables and the parser to ftable. In file output. */ |
105 |
output (); |
output (); |
106 |
|
|
107 |
|
/* Close the input files. */ |
108 |
|
close_files (); |
109 |
|
|
110 |
/* Free the symbol table data structure. */ |
/* Free the symbol table data structure. */ |
111 |
free_symtab (); |
free_symtab (); |
112 |
|
|
113 |
lex_free (); |
lex_free (); |
114 |
|
|
|
/* Close the input files. */ |
|
|
close_files (); |
|
|
|
|
115 |
reduce_free (); |
reduce_free (); |
116 |
free_conflicts (); |
free_conflicts (); |
117 |
free_nullable (); |
free_nullable (); |