diff options
Diffstat (limited to 'xsl')
-rw-r--r-- | xsl/lang.highlight.c.xsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xsl/lang.highlight.c.xsl b/xsl/lang.highlight.c.xsl index d2d115e..730182c 100644 --- a/xsl/lang.highlight.c.xsl +++ b/xsl/lang.highlight.c.xsl @@ -32,6 +32,7 @@ <!-- Scan for quotes... --> <xsl:for-each select="exslt:node-set($tokenizedData)"> + <xsl:variable name="myPos" select="position()"/> <xsl:variable name="quotePos" select="count(../*[@delimiter='"' and position() < $myPos])"/> <xsl:variable name="commentOpen" select="count(str:tokenize_plasmaroo(substring-before($data, concat(' ', '/*'))))"/> <xsl:variable name="commentClosed" select="count(str:tokenize_plasmaroo(substring-before($data, concat(' ', '*/'))))"/> |