Browse Source

fix for .<pf>.hx support

Nicolas Cannasse 9 years ago
parent
commit
2c0ba1d7f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extra/ImportAll.hx

+ 1 - 1
extra/ImportAll.hx

@@ -71,7 +71,7 @@ class ImportAll {
 				if( file == ".svn" || file == "_std" )
 				if( file == ".svn" || file == "_std" )
 					continue;
 					continue;
 				var full = (pack == "") ? file : pack + "." + file;
 				var full = (pack == "") ? file : pack + "." + file;
-				if( StringTools.endsWith(file, ".hx") ) {
+				if( StringTools.endsWith(file, ".hx") && file.indexOf(".") < 0 ) {
 					var cl = full.substr(0, full.length - 3);
 					var cl = full.substr(0, full.length - 3);
 					switch( cl ) {
 					switch( cl ) {
 					case "ImportAll", "neko.db.MacroManager": continue;
 					case "ImportAll", "neko.db.MacroManager": continue;