summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-03 17:50:36 +0100
committerGeorg Brandl <georg@python.org>2011-01-03 17:50:36 +0100
commitf9daf06a0dcbe7b32ff02592abcc06350dc502aa (patch)
tree0d50910f2ff4ab6c6ae1ab081e789fde28275256
parentc2afa9eda2a526a302dd7913ceec6e8b198fcac2 (diff)
downloadpygments-f9daf06a0dcbe7b32ff02592abcc06350dc502aa.tar.gz
Consistency fix.
-rw-r--r--pygments/lexers/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index b9c4e78b..11bc2175 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -2015,7 +2015,7 @@ class XQueryLexer(ExtendedRegexLexer):
ctx.pos = match.end(1)
else:
ctx.stack.append(next_state)
- ctx.pos = match.end()
+ ctx.pos = match.end(1)
def popstate_callback(lexer, match, ctx):
yield match.start(), Punctuation, match.group(1)