diff options
author | Steve Spigarelli <spig@spig.net> | 2011-08-01 13:41:21 -0600 |
---|---|---|
committer | Steve Spigarelli <spig@spig.net> | 2011-08-01 13:41:21 -0600 |
commit | 60f545708165f7e3fefbd15ad59d47916bf83235 (patch) | |
tree | 7c00b9759b2e4caa95759b470acf4e72360630ca | |
parent | 9a1f0628aefdc5ffbd67312df1d581089db2128d (diff) | |
download | pygments-60f545708165f7e3fefbd15ad59d47916bf83235.tar.gz |
updated web.py lexer
-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+)(\()', |