* src/gram.h, src/gram.c (symbols): New, similar to state_table
authorAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:18:32 +0000 (14:18 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:18:32 +0000 (14:18 +0000)
commit0e78e603f696b4b820231b56fdb21c2a173e6bd3
treeef0caf6d13d5da6c9c8d91aa3c98105e21e28ccc
parent213e640e1e78a687369fe4760b82385c602ca876
* src/gram.h, src/gram.c (symbols): New, similar to state_table
and rule_table.
* src/reader.c (packsymbols): Fill this table.
Drop sprec.
* src/conflicts.c (resolve_sr_conflict): Adjust.
* src/reduce.c (reduce_grammar): Adjust: just sort symbols, a
single table.
Use symbols[i]->tag instead of tags[i].
ChangeLog
src/LR0.c
src/conflicts.c
src/gram.c
src/gram.h
src/reader.c
src/reduce.c