]> git.saurik.com Git - bison.git/commit - src/main.c
`user_toknums' is output as a `short[]' in `output.c', while it is
authorAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 07:53:36 +0000 (07:53 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 07:53:36 +0000 (07:53 +0000)
commitd019d65507d0bfff77bbc3fa34326bd859fd24e1
tree54103a3c6b186dcc45e30abfb20b11f564d1e7cd
parent6c89f1c1388ef0368855fc0400d35dfaf57db3ef
`user_toknums' is output as a `short[]' in `output.c', while it is
defined as a `int[]' in `reader.c'.  For consistency with the
other output tables, `user_toknums' is now defined as a table of
shorts.

* src/reader.c (user_toknums): Be a short table instead of an int
table.
Adjust dependencies.

Factor the short table outputs.

* src/output.c (output_short_table): New function.
* src/output.c (output_gram, output_stos, output_rule_data)
(output_base, output_table, output_check):  Use it.
ChangeLog
src/main.c
src/output.c
src/reader.c