소스 검색

one more haxe4 fix wrt invalid identifiers

Nicolas Cannasse 6 년 전
부모
커밋
0948a9038e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 };