1 |
2002-04-07 Akim Demaille <akim@epita.fr> |
2002-04-07 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* src/LR0.c (new_state): Display `nstates' as the name of the |
4 |
|
newly created state. |
5 |
|
Adjust to initialize first_state and last_state if needed. |
6 |
|
Be sure to distinguish the initial from the final state. |
7 |
|
(new_states): Create the itemset of the initial state, and use |
8 |
|
new_state. |
9 |
|
* src/closure.c (closure): Now that the initial state has its |
10 |
|
items properly set, there is no need for a special case when |
11 |
|
creating `ruleset'. |
12 |
|
|
13 |
|
As a result, now the rule 0, reducing to $axiom, is visible in the |
14 |
|
outputs. Adjust the test suite. |
15 |
|
|
16 |
|
* tests/conflicts.at (Solved SR Conflicts) |
17 |
|
(Unresolved SR Conflicts): Adjust. |
18 |
|
* tests/regression.at (Web2c Report, Rule Line Numbers): Idem. |
19 |
|
* tests/conflicts.at (S/R in initial): New. |
20 |
|
|
21 |
|
2002-04-07 Akim Demaille <akim@epita.fr> |
22 |
|
|
23 |
* src/LR0.c (allocate_itemsets): Don't loop over ritem: loop over |
* src/LR0.c (allocate_itemsets): Don't loop over ritem: loop over |
24 |
the RHS of the rules. |
the RHS of the rules. |
25 |
* src/output.c (output_gram): Likewise. |
* src/output.c (output_gram): Likewise. |