diff options
author | David Corbett <corbett.dav@husky.neu.edu> | 2014-05-17 08:20:36 -0400 |
---|---|---|
committer | David Corbett <corbett.dav@husky.neu.edu> | 2014-05-17 08:20:36 -0400 |
commit | ca0bf1cc14c45ec9859747ace833b320cc5a644d (patch) | |
tree | 5e6d827f190e69948d642f9c448e1ab87edbd7db /pygments/lexers/web.py | |
parent | 778edd1d5ff974b1d4084af964151d9f87f05efd (diff) | |
download | pygments-ca0bf1cc14c45ec9859747ace833b320cc5a644d.tar.gz |
Swap MIME types of ActionScript and ActionScript 3
Diffstat (limited to 'pygments/lexers/web.py')
-rw-r--r-- | pygments/lexers/web.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py index 5260b9f5..2428ffcd 100644 --- a/pygments/lexers/web.py +++ b/pygments/lexers/web.py @@ -184,8 +184,8 @@ class ActionScriptLexer(RegexLexer): name = 'ActionScript' aliases = ['as', 'actionscript'] filenames = ['*.as'] - mimetypes = ['application/x-actionscript3', 'text/x-actionscript3', - 'text/actionscript3'] + mimetypes = ['application/x-actionscript', 'text/x-actionscript', + 'text/actionscript'] flags = re.DOTALL tokens = { @@ -268,8 +268,8 @@ class ActionScript3Lexer(RegexLexer): name = 'ActionScript 3' aliases = ['as3', 'actionscript3'] filenames = ['*.as'] - mimetypes = ['application/x-actionscript', 'text/x-actionscript', - 'text/actionscript'] + mimetypes = ['application/x-actionscript3', 'text/x-actionscript3', + 'text/actionscript3'] identifier = r'[$a-zA-Z_]\w*' typeidentifier = identifier + '(?:\.<\w+>)?' |