diff options
author | shadchin <[email protected]> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/python/Pygments/py3/pygments/lexers/automation.py | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/automation.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/lexers/automation.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/automation.py b/contrib/python/Pygments/py3/pygments/lexers/automation.py index 7b03e39a060..92612bb3b62 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/automation.py +++ b/contrib/python/Pygments/py3/pygments/lexers/automation.py @@ -4,7 +4,7 @@ Lexers for automation scripting languages. - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -22,7 +22,7 @@ class AutohotkeyLexer(RegexLexer): .. versionadded:: 1.4 """ name = 'autohotkey' - aliases = ['autohotkey', 'ahk'] + aliases = ['autohotkey', 'ahk'] filenames = ['*.ahk', '*.ahkl'] mimetypes = ['text/x-autohotkey'] @@ -326,7 +326,7 @@ class AutoItLexer(RegexLexer): include('builtInFunctions'), include('builtInMarcros'), (r'"', String, combined('stringescape', 'dqs')), - (r"'", String, 'sqs'), + (r"'", String, 'sqs'), include('numbers'), (r'[a-zA-Z_#@$][\w#@$]*', Name), (r'\\|\'', Text), @@ -368,11 +368,11 @@ class AutoItLexer(RegexLexer): (r'"', String, '#pop'), include('strings') ], - 'sqs': [ - (r'\'\'|\`([,%`abfnrtv])', String.Escape), - (r"'", String, '#pop'), - (r"[^'\n]+", String) - ], + 'sqs': [ + (r'\'\'|\`([,%`abfnrtv])', String.Escape), + (r"'", String, '#pop'), + (r"[^'\n]+", String) + ], 'garbage': [ (r'[^\S\n]', Text), ], |