diff options
author | Mike Gerwitz <gerwitzm@lovullo.com> | 2016-11-17 08:52:37 -0500 |
---|---|---|
committer | Mike Gerwitz <gerwitzm@lovullo.com> | 2016-11-17 23:55:23 -0500 |
commit | c199f4739e17e841d90d6bfffce3806b8d0f2254 (patch) | |
tree | 513e25644c4f36e7e90438891d9aa555e75a020f /src/current/include/preproc/symtable.xsl | |
parent | 246ccbb1db561c4f133294c0f2eed7171647794a (diff) | |
download | tame-c199f4739e17e841d90d6bfffce3806b8d0f2254.tar.gz tame-c199f4739e17e841d90d6bfffce3806b8d0f2254.tar.bz2 tame-c199f4739e17e841d90d6bfffce3806b8d0f2254.zip |
Extract template symbol generation
* src/current/include/preproc/symtable.xsl
(preproc:symtable)[lv:template]: Extracted template.
* src/symtable/symbols.xsl:
(preproc:symtable)[lv:template]: Added template.
test/symtable/symbols.xsl: Added test case.
Diffstat (limited to 'src/current/include/preproc/symtable.xsl')
-rw-r--r-- | src/current/include/preproc/symtable.xsl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/current/include/preproc/symtable.xsl b/src/current/include/preproc/symtable.xsl index e7ead95..245a78d 100644 --- a/src/current/include/preproc/symtable.xsl +++ b/src/current/include/preproc/symtable.xsl @@ -670,14 +670,6 @@ </xsl:template> -<xsl:template match="lv:template" mode="preproc:symtable" priority="9"> - <!-- do not process template bodies; we're only interested in the symbols - they produce after expansion --> - <preproc:sym name="{@name}" - type="tpl" dim="0" desc="{@desc}" /> -</xsl:template> - - <xsl:template match="lv:rate" mode="preproc:symtable" priority="5"> <xsl:variable name="external" select="boolean( @external='true' )" /> |