style: factor the access to a rule from its items
commit8f44164443e8cc04f7931cd5fdb39a0cc48b39a4
authorAkim Demaille <akim.demaille@gmail.com>
Thu, 25 Jun 2020 16:35:27 +0000 (25 18:35 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Thu, 25 Jun 2020 17:36:07 +0000 (25 19:36 +0200)
tree12f423aecf736c7c4e62c11ed65ae1155a89cb7c
parent1001f484167ad6f4dbdcb2f724ce99492f9606fe
style: factor the access to a rule from its items

* src/counterexample.c (item_rule): Move to...
* src/counterexample.h: here.
* src/AnnotationList.c, src/counterexample.c, src/ielr.c: Use it.
src/AnnotationList.c
src/counterexample.c
src/gram.c
src/gram.h
src/ielr.c