diff options
author | Anteru <bitbucket@ca.sh13.net> | 2019-03-06 18:58:58 +0000 |
---|---|---|
committer | Anteru <bitbucket@ca.sh13.net> | 2019-03-06 18:58:58 +0000 |
commit | 336dc9f7200909200036c80685f9703f40ecd238 (patch) | |
tree | a18e33f30ede25ebfc833ed661edb88014114484 /pygments/lexers/scripting.py | |
parent | b17601caa391fc3587960e160c57eb96c2dde3e0 (diff) | |
parent | bce3a972a54517884bcbd45e09e0d3e911fe53d7 (diff) | |
download | pygments-git-336dc9f7200909200036c80685f9703f40ecd238.tar.gz |
Merged in roskakori/pygments-vbscript (pull request #673)
Added lexer for VBScript
Diffstat (limited to 'pygments/lexers/scripting.py')
-rw-r--r-- | pygments/lexers/scripting.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/scripting.py b/pygments/lexers/scripting.py index 5849161b..28c37db8 100644 --- a/pygments/lexers/scripting.py +++ b/pygments/lexers/scripting.py @@ -5,7 +5,7 @@ Lexer for scripting and embedded languages. - :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -104,7 +104,7 @@ class LuaLexer(RegexLexer): (r'%s(?=%s*[.:])' % (_name, _s), Name.Class), (_name, Name.Function, '#pop'), # inline function - ('\(', Punctuation, '#pop'), + (r'\(', Punctuation, '#pop'), ], 'goto': [ @@ -696,8 +696,8 @@ class AppleScriptLexer(RegexLexer): (r'[-+]?\d+', Number.Integer), ], 'comment': [ - ('\(\*', Comment.Multiline, '#push'), - ('\*\)', Comment.Multiline, '#pop'), + (r'\(\*', Comment.Multiline, '#push'), + (r'\*\)', Comment.Multiline, '#pop'), ('[^*(]+', Comment.Multiline), ('[*(]', Comment.Multiline), ], |