summaryrefslogtreecommitdiff
path: root/test/transform/test-to-c.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/test-to-c.xsl')
-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'">
<!--