summaryrefslogtreecommitdiff
path: root/pygments/lexers/web.py
diff options
context:
space:
mode:
authorAndy Li <andy@onthewings.net>2012-11-26 00:02:58 +0800
committerAndy Li <andy@onthewings.net>2012-11-26 00:02:58 +0800
commit368ccceda7617e87ee80dcb3f66cdb51d1f03a16 (patch)
tree8eb397ab311af64f22d8e045c304cb45d2dc242f /pygments/lexers/web.py
parent02c30d1891b94c9d88c7cc0ee2b00f45e9134015 (diff)
downloadpygments-368ccceda7617e87ee80dcb3f66cdb51d1f03a16.tar.gz
updated Haxe info
Diffstat (limited to 'pygments/lexers/web.py')
-rw-r--r--pygments/lexers/web.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index 5e1453af..27f46e70 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -1132,9 +1132,9 @@ class HaxeLexer(ExtendedRegexLexer):
"""
name = 'Haxe'
- aliases = ['hx', 'Haxe', 'haxe', 'haXe'] #TODO update in other files
- filenames = ['*.hx']
- mimetypes = ['text/haxe', 'text/x-haxe', 'text/x-hx'] #TODO update in other files
+ aliases = ['hx', 'Haxe', 'haxe', 'haXe', 'hxsl']
+ filenames = ['*.hx', '*.hxsl']
+ mimetypes = ['text/haxe', 'text/x-haxe', 'text/x-hx']
# keywords extracted from lexer.mll in the haxe compiler source
keyword = (r'(?:function|class|static|var|if|else|while|do|for|'