summaryrefslogtreecommitdiff
path: root/pygments/lexers/web.py
diff options
context:
space:
mode:
authorDavid Corbett <corbett.dav@husky.neu.edu>2014-05-17 08:20:36 -0400
committerDavid Corbett <corbett.dav@husky.neu.edu>2014-05-17 08:20:36 -0400
commitca0bf1cc14c45ec9859747ace833b320cc5a644d (patch)
tree5e6d827f190e69948d642f9c448e1ab87edbd7db /pygments/lexers/web.py
parent778edd1d5ff974b1d4084af964151d9f87f05efd (diff)
downloadpygments-ca0bf1cc14c45ec9859747ace833b320cc5a644d.tar.gz
Swap MIME types of ActionScript and ActionScript 3
Diffstat (limited to 'pygments/lexers/web.py')
-rw-r--r--pygments/lexers/web.py8
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+>)?'