diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-02-26 10:13:50 -0500 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-02-26 10:31:04 -0500 |
commit | 5b256e026858053f97663086ba784daf2e9a282c (patch) | |
tree | 325834899bae8c75b1507a528d42cdc9de752938 | |
parent | d8cbee12b2ffbf90e6e32e573cfbc5b8613dd5b6 (diff) | |
download | tame-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.
-rw-r--r-- | src/current/include/preproc/symtable.xsl | 9 |
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> |