29 |
#include "files.h" |
#include "files.h" |
30 |
#include "complain.h" |
#include "complain.h" |
31 |
#include "derives.h" |
#include "derives.h" |
32 |
|
#include "tables.h" |
33 |
#include "output.h" |
#include "output.h" |
34 |
#include "reader.h" |
#include "reader.h" |
35 |
#include "lalr.h" |
#include "lalr.h" |
132 |
timevar_pop (TV_GRAPH); |
timevar_pop (TV_GRAPH); |
133 |
} |
} |
134 |
|
|
135 |
|
/* Compute the parser tables. */ |
136 |
|
timevar_push (TV_ACTIONS); |
137 |
|
tables_generate (); |
138 |
|
timevar_pop (TV_ACTIONS); |
139 |
|
|
140 |
/* Output the tables and the parser to ftable. In file output. */ |
/* Output the tables and the parser to ftable. In file output. */ |
141 |
timevar_push (TV_PARSER); |
timevar_push (TV_PARSER); |
142 |
output (); |
output (); |
143 |
timevar_pop (TV_PARSER); |
timevar_pop (TV_PARSER); |
144 |
|
|
145 |
timevar_push (TV_FREE); |
timevar_push (TV_FREE); |
146 |
|
tables_free (); |
147 |
states_free (); |
states_free (); |
148 |
reduce_free (); |
reduce_free (); |
149 |
conflicts_free (); |
conflicts_free (); |