]> git.saurik.com Git - bison.git/commit
Be sure never to walk through RITEMS, but use only data related to
authorAkim Demaille <akim@epita.fr>
Sun, 7 Apr 2002 17:40:56 +0000 (17:40 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 7 Apr 2002 17:40:56 +0000 (17:40 +0000)
commitb0940840ac770c0205c395e90a1a598e03cb79e8
tree35c4aceb472258a06c6fd1780743c200aca8a6b4
parent643a5994714b21dfde1a44a52ccffd0a300e5131
Be sure never to walk through RITEMS, but use only data related to
the rules themselves. RITEMS should be banished.
* src/output.c (output_token_translations): Rename as...
(prepare_tokens): this.
In addition to `translate', prepare the muscles `tname' and
`toknum', which were handled by...
(output_rule_data): this.
Remove, and move the remainder of its outputs into...
(prepare_rules): this new routines, which also merges content from
(output_gram): this.
(prepare_rules): Be sure never to walk through RITEMS.
(output_stos): Rename as...
(prepare_stos): this.
(output): Always invoke prepare_states, after all, just don't use it
in the output if you don't need it.
ChangeLog
src/output.c