symtable: Do not mark symbols with generated yields as generated

The problem with this implementation was that, any time a generator had an
associated generated @yields (which is common), it wouldn't be included in
the summary page.

We can address this in the future.  It's not necessarily that it was
incorrect; it's just how the system made use of it.

* src/current/include/preproc/symtable.xsl (preproc:symtable)[lv:rate]:
  Do not mark @preproc:yields-generated symbols as @preproc:generated.
master
Mike Gerwitz 2018-02-26 10:13:50 -05:00
parent d8cbee12b2
commit 5b256e0268
1 changed files with 2 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<!--
Generates a symbol table from fully a expanded (preprocessed) package
Copyright (C) 2016 R-T Specialty, LLC.
Copyright (C) 2016, 2018 R-T Specialty, LLC.
This file is part of TAME.
@ -660,12 +660,7 @@
<preproc:sym name="{@yields}" type="rate"
extclass="{$external}"
local="{@local}" dtype="float" dim="0" tex="{@sym}">
<xsl:if test="@preproc:yields-generated">
<xsl:attribute name="preproc:generated" select="'true'" />
</xsl:if>
</preproc:sym>
local="{@local}" dtype="float" dim="0" tex="{@sym}" />
<xsl:apply-templates mode="preproc:symtable" />
</xsl:template>