]> git.saurik.com Git - bison.git/commit - src/scan-code.l
support $<tag>$ in printers and destructors
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 14:52:35 +0000 (16:52 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 16:30:43 +0000 (18:30 +0200)
commit4982f078bfd98d50b9c97d2bcddb7a89d20ff3df
treee22c706c338293612f98b6a0e02a9250ada6b24a
parent65a99eca252e9c8c042fb529d86046cbc8adad95
support $<tag>$ in printers and destructors

* src/scan-code.l (SC_SYMBOL_ACTION): Accept $<tag>$, not just $$.
* data/c.m4 (b4_dollar_dollar_): New.
(b4_symbol_actions): Let b4_dollar_dollar use b4_dollar_dollar_.
* NEWS, doc/bison.texi: Document it.
* tests/actions.at: Check this for C and C++.
NEWS
data/c.m4
doc/bison.texi
src/scan-code.l
tests/actions.at
tests/calc.at