]> git.saurik.com Git - bison.git/commit
xml: match DOT output and xml2dot.xsl processing
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Tue, 23 Oct 2012 15:43:54 +0000 (15:43 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 12 Nov 2012 15:46:55 +0000 (16:46 +0100)
commitbe3517b007a833ffec1735691f256f6a37e4a67f
treea72da10a9013d2e63a7dd577300210d8aad650ca
parent489b320d4a70692313a059b10786913a1310f617
xml: match DOT output and xml2dot.xsl processing

Make the DOT produced by XSLT processing equivalent to the one made with the
--graph option.

* data/xslt/xml2dot.xsl: Stylistic changes, and add support for reductions.
* doc/bison.texi (Xml): Update.
* src/graphviz.c (conclude_red): Minor stylistic changes to DOT internals.
(output_red): Swap enabled and disabled reductions output, for coherence
with XSLT output.
* src/print_graph.c (print_core): Minor stylistic change to States' output.
(print_actions): Swap order of output for reductions and transitions.
* tests/local.at (AT_BISON_CHECK_XML): Ignore differences in order.
* tests/output.at: Adjust to changes in DOT internals.
data/xslt/xml2dot.xsl
data/xslt/xml2text.xsl
doc/bison.texi
src/graphviz.c
src/print_graph.c
tests/local.at
tests/output.at