mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
Typo.
This commit is contained in:
20
ChangeLog
20
ChangeLog
@@ -176,26 +176,6 @@
|
|||||||
afterwards. Do it...
|
afterwards. Do it...
|
||||||
* src/main.c (main): here: call states_free after `output'.
|
* src/main.c (main): here: call states_free after `output'.
|
||||||
|
|
||||||
2002-06-30 Akim Demaille <akim@epita.fr>
|
|
||||||
|
|
||||||
Use hash.h for the state hash table.
|
|
||||||
|
|
||||||
* src/LR0.c (STATE_HASH_SIZE, state_hash): Remove.
|
|
||||||
(allocate_storage): Use state_hash_new.
|
|
||||||
(free_storage): Use state_hash_free.
|
|
||||||
(new_state, get_state): Adjust.
|
|
||||||
* src/lalr.h, src/lalr.c (states): Move to...
|
|
||||||
* src/states.h (state_t): Remove the `link' member, no longer
|
|
||||||
used.
|
|
||||||
* src/states.h, src/states.c: here.
|
|
||||||
(state_hash_new, state_hash_free, state_hash_lookup)
|
|
||||||
(state_hash_insert, states_free): New.
|
|
||||||
* src/states.c (state_table, state_compare, state_hash): New.
|
|
||||||
* src/output.c (output_actions): Do not free states now, since we
|
|
||||||
still need to know the final_state number in `prepare', called
|
|
||||||
afterwards. Do it...
|
|
||||||
* src/main.c (main): here: call states_free after `output'.
|
|
||||||
|
|
||||||
2002-06-30 Akim Demaille <akim@epita.fr>
|
2002-06-30 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* src/state.h, src/state.c (state_new): New, extracted from...
|
* src/state.h, src/state.c (state_new): New, extracted from...
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ id : '0';
|
|||||||
%%
|
%%
|
||||||
]])
|
]])
|
||||||
|
|
||||||
AT_CHECK([bison input.y -o input.c --report=all], 1, [],
|
AT_CHECK([bison input.y -o input.c --report=all], 0, [],
|
||||||
[input.y contains 1 reduce/reduce conflict.
|
[input.y contains 1 reduce/reduce conflict.
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user