Skip to content

Commit 9ba268b

Browse files
as3boyanmarijnh
authored andcommitted
[haxe mode] Support imports with wildcards
Haxe supports imports with willcard http://haxe.org/manual/modules#import-whole-package
1 parent 1e1ae42 commit 9ba268b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/haxe/haxe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ CodeMirror.defineMode("haxe", function(config, parserConfig) {
305305

306306
function importdef (type, value) {
307307
if(type == "variable" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }
308-
else if(type == "variable" || type == "property" || type == ".") return cont(importdef);
308+
else if(type == "variable" || type == "property" || type == "." || value == "*") return cont(importdef);
309309
}
310310

311311
function typedef (type, value)

0 commit comments

Comments
 (0)