diff options
author | Mike Gerwitz <gerwitzm@lovullo.com> | 2016-10-25 11:37:46 -0400 |
---|---|---|
committer | Mike Gerwitz <gerwitzm@lovullo.com> | 2016-10-25 11:37:46 -0400 |
commit | 5a9fb0d142103f954a73d69e8bd7c6a9158d287b (patch) | |
tree | af2798c58edff8d2b53189bc43c9e0e947022e39 /src | |
parent | ea3ae797b342c53943fa0cf472fc1100cbc96049 (diff) | |
download | tame-5a9fb0d142103f954a73d69e8bd7c6a9158d287b.tar.gz tame-5a9fb0d142103f954a73d69e8bd7c6a9158d287b.tar.bz2 tame-5a9fb0d142103f954a73d69e8bd7c6a9158d287b.zip |
lv:classify/@set stripped from macropass
This is no longer used.
* src/current/include/preproc/expand.xsl (lv:classify):
Remove `@set' processing.
Diffstat (limited to 'src')
-rw-r--r-- | src/current/include/preproc/expand.xsl | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/current/include/preproc/expand.xsl b/src/current/include/preproc/expand.xsl index 31f331b..018da81 100644 --- a/src/current/include/preproc/expand.xsl +++ b/src/current/include/preproc/expand.xsl @@ -488,52 +488,6 @@ <xsl:variable name="self" select="." /> <xsl:copy> - <!-- we just want to add an attribute that allows easy referencing of this - @yields set type, which will be a matrix if any matches match on a - matrix of values, otherwise it will be a vector --> - <xsl:attribute name="set"> - <xsl:variable name="params" - select="root(.)//lv:param[ @name=$self//lv:match/@on ]" /> - - <xsl:choose> - <!-- XXX: This does not work properly with classes depending on other - classes --> - <xsl:when test="$params/@set = 'matrix'"> - <xsl:text>matrix</xsl:text> - </xsl:when> - - <!-- XXX: remove this when the above is fixed...note also that we have - to check for lv:join since it hasn't necessarily been preprocessed - yet...what a mess. Also note that, since templates and other things - may not have been expanded, we also fail this test if the - classification does not match on either a param or another - classification (since then things will get more complicated)--> - <xsl:when test=" - not( - $self//lv:match - or $self//lv:join - ) - or ( - not( $params/@set ) - and not( - .//lv:match[ @on=root(.)/lv:classify/@yields ] - ) - and not( .//lv:join ) - and ( - $params - or .//lv:match[ @on=root(.)/lv:classify ] - ) - ) - "> - <!-- output nothing; it's just a scalar --> - </xsl:when> - - <xsl:otherwise> - <xsl:text>vector</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <!-- if there is no @yields attribute, then generate one --> <xsl:if test="not( @yields )"> <xsl:attribute name="yields"> |