]> git.saurik.com Git - bison.git/commit - data/xslt/xml2text.xsl
For the XML output's terminal element, rename @number to @token-number,
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sun, 28 Oct 2007 00:24:22 +0000 (00:24 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sun, 28 Oct 2007 00:24:22 +0000 (00:24 +0000)
commit32f19b6b47b41c46fdeb66b26cc67b609f8ae48c
tree445e77e0b7a167f7b293a7b282abc5a91948b2b5
parent255a6b901a07ae572562f25a72b56a2fcc6b0b9e
For the XML output's terminal element, rename @number to @token-number,
and add @symbol-number.  In the nonterminal element, rename @number to
@symbol-number.  Discussed starting at
<http://lists.gnu.org/archive/html/bison-patches/2007-10/msg00040.html>.
* data/xslt/xml2text.xsl (xsl:template match="terminal"): Update for
renames.
(xsl:template match="nonterminal"): Likewise.
* data/xslt/xml2xhtml.xsl (xsl:template match="terminal"): Likewise.
(xsl:template match="nonterminal"): Likewise.
* src/print-xml.c (print_grammar): Implement.
ChangeLog
data/xslt/xml2text.xsl
data/xslt/xml2xhtml.xsl
src/print-xml.c