1 |
2002-07-31 Akim Demaille <akim@epita.fr> |
2002-07-31 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Separate parser tables computation and output. |
4 |
|
|
5 |
|
* src/output.c (nvectors, base_t, base, base_ninf, conflict_table) |
6 |
|
(conflict_list, conflict_list_cnt, table, check, table_ninf) |
7 |
|
(yydefgoto, yydefact, high): Move to... |
8 |
|
* src/tables.h, src/tables.c: here. |
9 |
|
* src/output.c (vector_number_t, VECTOR_NUMBER_MAX) |
10 |
|
(VECTOR_NUMBER_MIN, state_number_to_vector_number) |
11 |
|
(symbol_number_to_vector_number, nvectors, BASE_MAX, BASE_MIN) |
12 |
|
(froms, tos, conflict_tos, tally, width, action_t, ACTION_MAX) |
13 |
|
(ACTION_MIN, actrow, order, nentries, pos, conflrow) |
14 |
|
(conflict_list_free, table_size, lowzero, table_grow, conflict_row) |
15 |
|
(action_row, save_row, token_actions, save_column, default_goto) |
16 |
|
(goto_actions, sort_actions, matching_state, pack_vector) |
17 |
|
(table_ninf_remap, pack_table, prepare_actions): Move to... |
18 |
|
* src/tables.c: here. |
19 |
|
* src/tables.h, src/tables.c(tables_generate, tables_free): New. |
20 |
|
* src/output.c (token_actions, output_base, output_conflicts) |
21 |
|
(output_check): Merge into... |
22 |
|
(prepare_actions): this. |
23 |
|
(actions_output): Rename as... |
24 |
|
(user_actions_output): this. |
25 |
|
* src/main.c (main): Call tables_generate and tables_free. |
26 |
|
|
27 |
|
2002-07-31 Akim Demaille <akim@epita.fr> |
28 |
|
|
29 |
Steal GCC's --time-report support. |
Steal GCC's --time-report support. |
30 |
|
|
31 |
* lib/timevar.c, lib/timevar.h, lib/timevar.def: New, |
* lib/timevar.c, lib/timevar.h, lib/timevar.def: New, |