reports: let html reports catch up with --report and --graph

* data/xslt/xml2xhtml.xsl: Show the symbol types.
* tests/report.at: Adjust.
This commit is contained in:
Akim Demaille
2020-07-11 10:24:26 +02:00
parent 44ad466a32
commit 44f28d10ee
2 changed files with 12 additions and 6 deletions

View File

@@ -331,6 +331,9 @@
<xsl:text> </xsl:text>
<li>
<b><xsl:value-of select="@name"/></b>
<xsl:if test="string-length(@type) != 0">
<xsl:value-of select="concat(' &lt;', @type, '&gt;')"/>
</xsl:if>
<xsl:value-of select="concat(' (', @token-number, ')')"/>
<xsl:for-each select="key('bison:ruleByRhs', @name)">
<xsl:apply-templates select="." mode="number-link"/>
@@ -343,6 +346,9 @@
<xsl:text> </xsl:text>
<li>
<b><xsl:value-of select="@name"/></b>
<xsl:if test="string-length(@type) != 0">
<xsl:value-of select="concat(' &lt;', @type, '&gt;')"/>
</xsl:if>
<xsl:value-of select="concat(' (', @symbol-number, ')')"/>
<xsl:text>&#10; </xsl:text>
<ul>