]> git.saurik.com Git - bison.git/commit - src/symlist.h
* src/symlist.h, src/symlist.c (symbol_list_length): New.
authorAkim Demaille <akim@epita.fr>
Mon, 17 Jun 2002 07:05:12 +0000 (07:05 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 17 Jun 2002 07:05:12 +0000 (07:05 +0000)
commitdafdc66ff0a0344c390d0f5612e9b469d6855e00
tree46e380c01aaef512c439e7bb6c0fd92aaea6cc1d
parent56c47203421107ee019a20f3b56cfb967ad75bd2
* src/symlist.h, src/symlist.c (symbol_list_length): New.
* src/scan-gram.l (handle_dollar, handle_at): Compute the
rule_length only when needed.
* src/output.c (actions_output, token_definitions_output): Output
the full M4 block.
* src/symtab.c: Don't access directly to the symbol tag, use
symbol_tag_get.
* src/parse-gram.y: Use symbol_list_free.
ChangeLog
src/output.c
src/parse-gram.c
src/parse-gram.y
src/scan-gram.c
src/scan-gram.l
src/symlist.c
src/symlist.h
src/symtab.c