X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9fb1f8d8f7afee9fb852c901bd17821282d9e328..5422d56a718805a2470558808355e04182a12d65:/data/xslt/xml2text.xsl diff --git a/data/xslt/xml2text.xsl b/data/xslt/xml2text.xsl index 7ec9edc8..a91b4a71 100644 --- a/data/xslt/xml2text.xsl +++ b/data/xslt/xml2text.xsl @@ -2,9 +2,8 @@ - + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:bison="http://www.gnu.org/software/bison/"> + + @@ -34,90 +35,95 @@ - - - + + + - - - Rules never reduced - - - - - + + + + - - - - - - - - - Useless nonterminals - + + + Nonterminals useless in grammar + - + - - - Useless rules - - - - - - - - - - Terminals which are not used - + + + Terminals unused in grammar + + - + - - - + + + + Rules useless in grammar + + + - - State - - conflicts: - - - - + + + + Rules useless in parser due to conflicts + + + + + Grammar - - - + + + + + + + + + + + + + + + + + + Terminals, with rules where they appear @@ -126,42 +132,93 @@ Nonterminals, with rules where they appear - + - - - - + + + + + 0 + + + + + + + + + + + + + - - - + + + + + + + + + + + on@left: + + + + + + + , + + on@right: + + + + + + + + - - - - - - on left: - - - - , - - - on right: + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + @@ -176,7 +233,7 @@ state - + @@ -230,19 +287,53 @@ + + + + + + + + + + + + + + + - + + + + + + + + - + + + + + + + @@ -253,8 +344,26 @@ : - - + + + + + . + + + + + + + + + . + + + + + + @@ -263,10 +372,6 @@ - - . - - /* empty */ @@ -337,7 +442,7 @@ ( + select="key('bison:ruleByNumber', current()/@rule)/lhs[text()]"/> ) @@ -429,4 +534,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +