Jelajahi Sumber

one more haxe4 fix wrt invalid identifiers

Nicolas Cannasse 6 tahun lalu
induk
melakukan
0948a9038e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      hxd/res/FileTree.hx

+ 1 - 1
hxd/res/FileTree.hx

@@ -325,7 +325,7 @@ class FileTree {
 		for( f in tree.files ) {
 			// handle duplicates
 			if( fident.get(f.ident) != f.relPath )
-				f.ident += "_" + f.ext;
+				f.ident += "_" + makeIdent(f.ext);
 			var ftype = extensions.get(f.ext);
 			if( ftype == null ) ftype = defaultExt;
 			var epath = { expr : EConst(CString(f.relPath)), pos : pos };