25 |
Produce and prototype stmtMerge only when used. |
Produce and prototype stmtMerge only when used. |
26 |
yylex takes a location. |
yylex takes a location. |
27 |
|
|
|
|
|
28 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
29 |
|
|
30 |
We spend a lot of time in quotearg, in particular when --verbose. |
We spend a lot of time in quotearg, in particular when --verbose. |
33 |
(symbol_tag_get, symbol_tag_get_n, symbol_tag_print): Remove. |
(symbol_tag_get, symbol_tag_get_n, symbol_tag_print): Remove. |
34 |
Adjust all callers. |
Adjust all callers. |
35 |
|
|
|
|
|
36 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
37 |
|
|
38 |
* src/state.h (reductions_t): Rename member `nreds' as num. |
* src/state.h (reductions_t): Rename member `nreds' as num. |
39 |
(errs_t): Rename members `nerrs' and `errs' as `num' and `symbols'. |
(errs_t): Rename members `nerrs' and `errs' as `num' and `symbols'. |
40 |
* src/state.c (ERRS_ALLOC, REDUCTIONS_ALLOC): Use the correct types. |
* src/state.c (ERRS_ALLOC, REDUCTIONS_ALLOC): Use the correct types. |
41 |
|
|
|
|
|
42 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
43 |
|
|
44 |
* src/state.h, src/state.c (shift_t, SHIFT_SYMBOL, SHIFT_IS_SHIFT) |
* src/state.h, src/state.c (shift_t, SHIFT_SYMBOL, SHIFT_IS_SHIFT) |
48 |
(TRANSITION_IS_GOTO, TRANSITION_IS_ERROR, TRANSITION_DISABLE) |
(TRANSITION_IS_GOTO, TRANSITION_IS_ERROR, TRANSITION_DISABLE) |
49 |
(TRANSITION_IS_DISABLED, transitions_to): these. |
(TRANSITION_IS_DISABLED, transitions_to): these. |
50 |
|
|
|
|
|
51 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
52 |
|
|
53 |
* src/print.c (print_shifts, print_gotos): Merge into... |
* src/print.c (print_shifts, print_gotos): Merge into... |
87 |
* src/output.c (action_row): Let default_rule be always a rule |
* src/output.c (action_row): Let default_rule be always a rule |
88 |
number. |
number. |
89 |
|
|
|
|
|
90 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
91 |
|
|
92 |
* src/closure.c (print_firsts, print_fderives, closure): |
* src/closure.c (print_firsts, print_fderives, closure): |
98 |
* src/output.c (action_row): Likewise. |
* src/output.c (action_row): Likewise. |
99 |
Use SHIFT_IS_DISABLED, SHIFT_IS_SHIFT and SHIFT_SYMBOL. |
Use SHIFT_IS_DISABLED, SHIFT_IS_SHIFT and SHIFT_SYMBOL. |
100 |
|
|
|
|
|
101 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
102 |
|
|
103 |
* src/print_graph.c: Use report_flag. |
* src/print_graph.c: Use report_flag. |
104 |
|
|
|
|
|
105 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
106 |
|
|
107 |
* src/lalr.c (traverse, digraph, matrix_print, transpose): Move |
* src/lalr.c (traverse, digraph, matrix_print, transpose): Move |
109 |
* src/relation.h, src/relation.c (traverse, relation_digraph) |
* src/relation.h, src/relation.c (traverse, relation_digraph) |
110 |
(relation_print, relation_transpose): New. |
(relation_print, relation_transpose): New. |
111 |
|
|
|
|
|
112 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
113 |
|
|
114 |
* src/state.h, src/state.c (shifts_to): New. |
* src/state.h, src/state.c (shifts_to): New. |
115 |
* src/lalr.c (build_relations): Use it. |
* src/lalr.c (build_relations): Use it. |
116 |
|
|
|
|
|
117 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
118 |
|
|
119 |
* src/gram.h (rule_number_t, RULE_NUMBER_MAX, int_of_rule_number) |
* src/gram.h (rule_number_t, RULE_NUMBER_MAX, int_of_rule_number) |
124 |
Propagate their use. |
Propagate their use. |
125 |
Much remains to be done, in particular wrt `shorts' from types.h. |
Much remains to be done, in particular wrt `shorts' from types.h. |
126 |
|
|
|
|
|
127 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
128 |
|
|
129 |
* src/symtab.c (symbol_new): Initialize the `printer' member. |
* src/symtab.c (symbol_new): Initialize the `printer' member. |
130 |
|
|
|
|
|
131 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
132 |
|
|
133 |
* src/LR0.c (save_reductions): Remove, replaced by... |
* src/LR0.c (save_reductions): Remove, replaced by... |
136 |
(reductions_t, errs_t): these. |
(reductions_t, errs_t): these. |
137 |
Adjust all dependencies. |
Adjust all dependencies. |
138 |
|
|
|
|
|
139 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
140 |
|
|
141 |
* src/LR0.c (state_list_t, state_list_append): New. |
* src/LR0.c (state_list_t, state_list_append): New. |
151 |
Adjust all dependencies. |
Adjust all dependencies. |
152 |
* src/state.h (state_t): Remove the `next' member. |
* src/state.h (state_t): Remove the `next' member. |
153 |
|
|
|
|
|
154 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
155 |
|
|
156 |
* src/vcg.c (quote): Use slot 2, since we often pass symbol tag |
* src/vcg.c (quote): Use slot 2, since we often pass symbol tag |
157 |
escaped in slot 0. |
escaped in slot 0. |
158 |
|
|
|
|
|
159 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
160 |
|
|
161 |
Use hash.h for the state hash table. |
Use hash.h for the state hash table. |
176 |
afterwards. Do it... |
afterwards. Do it... |
177 |
* src/main.c (main): here: call states_free after `output'. |
* src/main.c (main): here: call states_free after `output'. |
178 |
|
|
|
|
|
179 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
180 |
|
|
181 |
Use hash.h for the state hash table. |
Use hash.h for the state hash table. |
196 |
afterwards. Do it... |
afterwards. Do it... |
197 |
* src/main.c (main): here: call states_free after `output'. |
* src/main.c (main): here: call states_free after `output'. |
198 |
|
|
|
|
|
199 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
200 |
|
|
201 |
* src/state.h, src/state.c (state_new): New, extracted from... |
* src/state.h, src/state.c (state_new): New, extracted from... |
205 |
* src/LR0.h, src/LR0.c (nstates, final_state): Move to... |
* src/LR0.h, src/LR0.c (nstates, final_state): Move to... |
206 |
* src/state.h, src/state.c: here. |
* src/state.h, src/state.c: here. |
207 |
|
|
|
|
|
208 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
209 |
|
|
210 |
* src/reader.c (gensym): Rename as... |
* src/reader.c (gensym): Rename as... |
212 |
(getsym): Rename as... |
(getsym): Rename as... |
213 |
(symbol_get): this. |
(symbol_get): this. |
214 |
|
|
|
|
|
215 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
216 |
|
|
217 |
* src/state.h (state_number_t, STATE_NUMBER_MAX): New. |
* src/state.h (state_number_t, STATE_NUMBER_MAX): New. |
228 |
* tests/calc.at: Don't exercise the scanner here, do it... |
* tests/calc.at: Don't exercise the scanner here, do it... |
229 |
* tests/input.at (Torturing the Scanner): here. |
* tests/input.at (Torturing the Scanner): here. |
230 |
|
|
|
|
|
231 |
2002-06-28 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU> |
2002-06-28 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU> |
232 |
|
|
233 |
* data/glr.c: Correct typo in Emacs-mode directive. Slightly |
* data/glr.c: Correct typo in Emacs-mode directive. Slightly |
234 |
reorganize first lines parallel to yacc.c. |
reorganize first lines parallel to yacc.c. |
235 |
|
|
236 |
2002-06-28 Akim Demaille <akim@epita.fr> |
2002-06-28 Akim Demaille <akim@epita.fr> |