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