X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/32f19b6b47b41c46fdeb66b26cc67b609f8ae48c..ff020c3061aeab8a20a4a6fd48c434e3e5aeb29b:/data/xslt/xml2xhtml.xsl diff --git a/data/xslt/xml2xhtml.xsl b/data/xslt/xml2xhtml.xsl index ff850455..f8126cfb 100644 --- a/data/xslt/xml2xhtml.xsl +++ b/data/xslt/xml2xhtml.xsl @@ -2,9 +2,8 @@ + Verbatim copying and distribution of this entire page is + permitted in any medium, provided this notice is preserved. @@ -108,9 +109,12 @@
  • Reductions
  • Conflicts
  • @@ -124,50 +128,34 @@
  • Automaton
  • - - + + - - -

    - - Rules never reduced -

    - -

    - - - -

    - -
    -
    - - +

    Reductions

    - - - + + + - +

    - - Useless nonterminals + + Nonterminals useless in grammar

    - +

    - + - + @@ -175,40 +163,94 @@ - +

    - - Useless rules + + Terminals unused in grammar

    - - + +

    - - - + + + + + +

    - +

    - - Terminals which are not used + + Rules useless in grammar

    - - + + +

    - - - - - + + +

    + + + +

    + + Rules useless in parser due to conflicts +

    + +

    + + + +

    + + + + + +

    + + Grammar +

    + +

    + + + +

    + + + + + + + + + + + + + + + + + + + +

    @@ -257,22 +299,6 @@ - -

    - - Grammar -

    - -

    - - - -

    - - - - -

    @@ -292,52 +318,50 @@

    - +

    - + + + - - -
    - - - - - - - - + on left: + + + - - - - - + + + + on right: + + + - - + - + - + @@ -424,11 +448,14 @@ - + + select="key('bison:ruleByNumber', $prev-rule-number)/lhs[text()]" + /> @@ -443,8 +470,7 @@ - + @@ -480,8 +506,7 @@ - + @@ -528,7 +553,7 @@ - + @@ -619,7 +644,8 @@ ( + select="key('bison:ruleByNumber', current()/@rule)/lhs[text()]" + /> )