diff options
author | Georg Brandl <georg@python.org> | 2011-08-02 07:35:31 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-08-02 07:35:31 +0200 |
commit | 014b7ea132d72bfaf44cf8b005030cc3b1e0d6b5 (patch) | |
tree | 585e0bab4331b33e85eb0d74c19b298c65f79f81 | |
parent | fd364b7c334addfb9fc1f7c79c8cf7c4289de468 (diff) | |
parent | 60f545708165f7e3fefbd15ad59d47916bf83235 (diff) | |
download | pygments-014b7ea132d72bfaf44cf8b005030cc3b1e0d6b5.tar.gz |
Merged in spig/pygments-main (pull request #10)
-rw-r--r-- | pygments/lexers/web.py | 4 |
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+)(\()', |