]> git.saurik.com Git - bison.git/commitdiff
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)
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.


No differences found