Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-07-13 09:42:20 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-07-13 09:42:20 -0400
commit32afebd63145e793559074b38e3bb21cceb6647c (patch)
tree2e9e575bb3882479ac9159c5cc966f90b6f959fc
parentd5867eeda8b06250f0b106c0e72dca39ec10f936 (diff)
downloadtame-32afebd63145e793559074b38e3bb21cceb6647c.tar.gz
tame-32afebd63145e793559074b38e3bb21cceb6647c.tar.bz2
tame-32afebd63145e793559074b38e3bb21cceb6647c.zip
Preprocess input map nodesv2.1.0
In particular, I want it to handle absolute import paths. It does this for the return map; I forgot to add it here. * src/current/compiler/map.xsl (lvmc:compile) [lvm:program-map]: Preprocess nodes.
-rw-r--r--src/current/compiler/map.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/current/compiler/map.xsl b/src/current/compiler/map.xsl
index b4ec574..2891144 100644
--- a/src/current/compiler/map.xsl
+++ b/src/current/compiler/map.xsl
@@ -104,8 +104,8 @@
<with-param name="type-prefix" select="'map'" />
</call-template>
- <!-- copy all source nodes -->
- <sequence select="node()" />
+ <!-- copy source nodes -->
+ <apply-templates mode="preproc:expand" select="node()" />
</lv:package>
</variable>