Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-26 10:13:50 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-26 10:31:04 -0500
commit5b256e026858053f97663086ba784daf2e9a282c (patch)
tree325834899bae8c75b1507a528d42cdc9de752938 /src
parentd8cbee12b2ffbf90e6e32e573cfbc5b8613dd5b6 (diff)
downloadtame-5b256e026858053f97663086ba784daf2e9a282c.tar.gz
tame-5b256e026858053f97663086ba784daf2e9a282c.tar.bz2
tame-5b256e026858053f97663086ba784daf2e9a282c.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/current/include/preproc/symtable.xsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/current/include/preproc/symtable.xsl b/src/current/include/preproc/symtable.xsl
index d847c2f..55a4b04 100644
--- a/src/current/include/preproc/symtable.xsl
+++ b/src/current/include/preproc/symtable.xsl
@@ -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>