summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-09-16 17:00:00 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-09-16 17:00:00 +0000
commit2e904b581eda165b2832ea363f7b86cf9170f098 (patch)
tree529bfed44fe741a1e2223ca9e3f9a287722f785d /test
parent2c12bb68586efa3efaa1b2bf331473cba9169296 (diff)
downloadlibdom-2e904b581eda165b2832ea363f7b86cf9170f098.tar.gz
libdom-2e904b581eda165b2832ea363f7b86cf9170f098.tar.bz2
Move parameter declaration, as xsltproc (libxml 2.6.26, libxslt 1.1.21, libexslt 0.8.13) complains otherwise
svn path=/trunk/dom/; revision=3539
Diffstat (limited to 'test')
-rw-r--r--test/transform/test-to-c.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/test-to-c.xsl b/test/transform/test-to-c.xsl
index 5f23deb..211f006 100644
--- a/test/transform/test-to-c.xsl
+++ b/test/transform/test-to-c.xsl
@@ -470,7 +470,10 @@ through as a parameter
<!-- the parameter's expected type -->
<xsl:param name="interface-type"/>
-
+
+ <!-- used for referencing DOMStrings -->
+ <xsl:param name="current-position"/>
+
<!-- the IDL type of $var-or-literal -->
<xsl:variable name="var-type">
<xsl:call-template name="guess-var-or-literal-type">
@@ -479,10 +482,7 @@ through as a parameter
<xsl:with-param name="interface-type" select="$interface-type"/>
</xsl:call-template>
</xsl:variable>
-
- <!-- used for referencing DOMStrings -->
- <xsl:param name="current-position"/>
-
+
<xsl:choose>
<xsl:when test="$var-type = 'DOMString'">
<!--