summary: Add symbol refs to breakdown

This should be extremely helpful in understanding the breakdown.  And
convenient.
master
Mike Gerwitz 2017-12-14 11:53:23 -05:00
parent c98ece9d68
commit 43190ef6af
1 changed files with 18 additions and 0 deletions

View File

@ -1823,6 +1823,24 @@
</span>
</xsl:for-each>
</xsl:if>
<xsl:if test="@name">
<xsl:variable name="name" select="@name" />
<xsl:variable name="sym"
select="/lv:*/preproc:symtable
/preproc:sym[ @name=$name ]" />
<xsl:variable name="ref"
select="if ( $sym/@parent ) then
$sym/@parent
else
$name" />
<xsl:text> </xsl:text>
<a href="#{$ref}" class="sym-ref sym-{$sym/@type}">
<xsl:value-of select="$name" />
</a>
</xsl:if>
</legend>
<xsl:apply-templates select="$c" mode="ultra-breakdown-equ" />