diff options
author | arcadia-devtools <[email protected]> | 2022-06-09 14:39:19 +0300 |
---|---|---|
committer | arcadia-devtools <[email protected]> | 2022-06-09 14:39:19 +0300 |
commit | c04b663c7bb4b750deeb8f48f620497ec13da8fa (patch) | |
tree | 151ebc8bfdd2ad918caf5e6e2d8013e14272ddf8 /contrib/python/Pygments/py3/pygments/lexers/sql.py | |
parent | 0d55ca22c507d18c2f35718687e0b06d9915397b (diff) |
intermediate changes
ref:2d4f292087954c9344efdabb7b2a67f466263c65
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/sql.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/lexers/sql.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/sql.py b/contrib/python/Pygments/py3/pygments/lexers/sql.py index 752f1350055..043a3d17cf6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sql.py @@ -33,7 +33,7 @@ The ``tests/examplefiles`` contains a few test files with data to be parsed by these lexers. - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -513,8 +513,8 @@ class TransactSqlLexer(RegexLexer): filenames = ['*.sql'] mimetypes = ['text/x-tsql'] - # Use re.UNICODE to allow non ASCII letters in names. - flags = re.IGNORECASE | re.UNICODE + flags = re.IGNORECASE + tokens = { 'root': [ (r'\s+', Whitespace), @@ -812,11 +812,10 @@ class RqlLexer(RegexLexer): """ Lexer for Relation Query Language. - `RQL <http://www.logilab.org/project/rql>`_ - .. versionadded:: 2.0 """ name = 'RQL' + url = 'http://www.logilab.org/project/rql' aliases = ['rql'] filenames = ['*.rql'] mimetypes = ['text/x-rql'] |