]> git.saurik.com Git - bison.git/commit - src/lalr.c
* src/derives.h, src/derives.c (derives): A `rule_t***' instead of
authorAkim Demaille <akim@epita.fr>
Thu, 1 Aug 2002 18:13:29 +0000 (18:13 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 1 Aug 2002 18:13:29 +0000 (18:13 +0000)
commitbb0027a9aca454a80f737e0c49df0a231c50b996
treec7a908d5f99056294c5d7e0192d9b1ef2d3eb841
parent3325ddc49c7b31f2670d03d1e3b59c2636650af3
* src/derives.h, src/derives.c (derives): A `rule_t***' instead of
`rule_number_t**'.
(set_derives, free_derives): Rename as...
(derives_compute, derives_free): this.
Adjust all dependencies.
* src/nullable.c (set_nullable, free_nullable): Rename as...
(nullable_compute, nullable_free): these.
(rule_list_t): Store rule_t *, not rule_number_t.
* src/state.c (state_rule_lookaheads_print): Directly compare rule
pointers, instead of their numbers.
* src/main.c (main): Call nullable_free, and derives_free earlier,
as they were lo longer used.
ChangeLog
src/closure.c
src/derives.c
src/derives.h
src/lalr.c
src/main.c
src/nullable.c
src/nullable.h
src/state.c