summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-08-02 07:35:31 +0200
committerGeorg Brandl <georg@python.org>2011-08-02 07:35:31 +0200
commit014b7ea132d72bfaf44cf8b005030cc3b1e0d6b5 (patch)
tree585e0bab4331b33e85eb0d74c19b298c65f79f81
parentfd364b7c334addfb9fc1f7c79c8cf7c4289de468 (diff)
parent60f545708165f7e3fefbd15ad59d47916bf83235 (diff)
downloadpygments-014b7ea132d72bfaf44cf8b005030cc3b1e0d6b5.tar.gz
Merged in spig/pygments-main (pull request #10)
-rw-r--r--pygments/lexers/web.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index aec09f6b..17a42d04 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -2362,7 +2362,7 @@ class XQueryLexer(ExtendedRegexLexer):
include('whitespace'),
(r'\(:', Comment, 'comment'),
(r'\$', Punctuation, 'varname'),
- (r'void\s*\(\s*\)',
+ (r'(void)(\s*)(\()(\s*)(\))',
bygroups(Keyword, Text, Punctuation, Text, Punctuation), 'operator'),
(r'(element|attribute|schema-element|schema-attribute|comment|text|'
r'node|binary|document-node|empty-sequence)(\s*)(\()',
@@ -2580,7 +2580,7 @@ class XQueryLexer(ExtendedRegexLexer):
(r'(\))(\s+)(as)', bygroups(Operator, Text, Keyword), 'itemtype'),
(r'(element|attribute|schema-element|schema-attribute|comment|'
- r'text|node|document-node)(\s+)(\()',
+ r'text|node|document-node|empty-sequence)(\s+)(\()',
pushstate_operator_kindtest_callback),
(r'(processing-instruction)(\s+)(\()',