Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-23 13:43:56 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-23 13:45:07 -0500
commit3bf15ebcc12ef175f3ce1d21c3f61a2b31de3c06 (patch)
treef01c4d3767f48f60593f4bb866073551d387ab51
parent6487282f559e1e45e9e03198ab915ff3a9023fa3 (diff)
downloadtame-3bf15ebcc12ef175f3ce1d21c3f61a2b31de3c06.tar.gz
tame-3bf15ebcc12ef175f3ce1d21c3f61a2b31de3c06.tar.bz2
tame-3bf15ebcc12ef175f3ce1d21c3f61a2b31de3c06.zip
depgen: Ignore template bodiesv2.9.14
Templates can expand into unexpected places, so sometimes warnings are inappropriately issued. * src/current/include/depgen.xsl (preproc:depgen)[lv:template]: Ignore. [lv:template/lv:param]: Remove (now unnecessary with above).
-rw-r--r--src/current/include/depgen.xsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/current/include/depgen.xsl b/src/current/include/depgen.xsl
index 012241c..f4619c8 100644
--- a/src/current/include/depgen.xsl
+++ b/src/current/include/depgen.xsl
@@ -2,7 +2,7 @@
<!--
Dependency generation
- Copyright (C) 2016 R-T Specialty, LLC.
+ Copyright (C) 2016, 2018 R-T Specialty, LLC.
This file is part of TAME.
@@ -517,8 +517,9 @@
</xsl:template>
-<xsl:template match="lv:template/lv:param" mode="preproc:depgen" priority="9">
- <!-- ignore -->
+<xsl:template match="lv:template" mode="preproc:depgen" priority="9">
+ <!-- don't generate dependencies for templates (which may have been
+ generated inline in unexpected places) -->
</xsl:template>