]> git.saurik.com Git - bison.git/commit - ChangeLog
* data/m4sugar/m4sugar.m4 (m4_map): Recognize when the list of
authorAkim Demaille <akim@epita.fr>
Mon, 17 Jun 2002 08:43:12 +0000 (08:43 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 17 Jun 2002 08:43:12 +0000 (08:43 +0000)
commit9280d3ef893b90b36c89fa7737512f2d640e41d9
tree899b88a5d1c4f2c08e9b1439f7281635c74ac569
parentdafdc66ff0a0344c390d0f5612e9b469d6855e00
* data/m4sugar/m4sugar.m4 (m4_map): Recognize when the list of
arguments is really empty, not only equal to `[]'.
* src/symtab.h, src/symtab.c (symbol_t): `destructor' is a new
member.
(symbol_destructor_set): New.
* src/output.c (symbol_destructors_output): New.
* src/reader.h (brace_code_t, current_braced_code): New.
* src/scan-gram.l (BRACED_CODE): Use it to branch on...
(handle_dollar): Rename as...
(handle_action_dollar): this.
(handle_destructor_dollar): New.
* src/parse-gram.y (PERCENT_DESTRUCTOR): New.
(grammar_declaration): Use it.
* data/bison.simple (yystos): Is always defined.
(yydestructor): New.
* tests/actions.at (Destructors): New.
* tests/calc.at (_AT_CHECK_CALC_ERROR): Don't rely on egrep.
15 files changed:
ChangeLog
data/bison.simple
data/m4sugar/m4sugar.m4
src/output.c
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.h
src/scan-gram.c
src/scan-gram.l
src/symlist.c
src/symtab.c
src/symtab.h
tests/actions.at
tests/calc.at