]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
Support %define "KEY" {VALUE}.
authorAkim Demaille <akim@epita.fr>
Thu, 13 Jul 2006 08:12:00 +0000 (08:12 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 13 Jul 2006 08:12:00 +0000 (08:12 +0000)
commit2ce4ed68c9b156fd353ada1a986bb61dfa42f60a
treeacee76a5a4c30c2ba553ab215b236eee68fee74e
parentdb7e5eb5ef7500d9a4dd98a67909d0cf9fc3b025
Support %define "KEY" {VALUE}.
* src/scan-code.h, src/scan-code.l (translate_action)
(translate_rule_action, translate_symbol_action, translate_code):
Return char *, not const char *.
* src/parse-gram.y (declaration): Rename as...
(prologue_declaration): this.
(string_content): Remove this nonterminal, use STRING.
(braceless, content, content.opt): New nonterminal.
Use them.
(%define): Now accept content.opt, i.e., accept also BRACED_CODE
as value.
* src/scan-gram.l (getargs.h): Don't include it.
ChangeLog
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/scan-code.h
src/scan-code.l
src/scan-gram.l