Browse Source

Fix platform

Rudy Ges 1 năm trước cách đây
mục cha
commit
f048baf1c1
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 5 5
      src/macro/macroApi.ml
  2. 1 1
      std/haxe/macro/Compiler.hx

+ 5 - 5
src/macro/macroApi.ml

@@ -439,11 +439,11 @@ and encode_platform p =
 		| Flash -> 4, []
 		| Php -> 5, []
 		| Cpp -> 6, []
-		| Jvm -> 8, []
-		| Python -> 9, []
-		| Hl -> 10, []
-		| Eval -> 11, []
-		| CustomTarget s -> 12, [(encode_string s)]
+		| Jvm -> 7, []
+		| Python -> 8, []
+		| Hl -> 9, []
+		| Eval -> 10, []
+		| CustomTarget s -> 11, [(encode_string s)]
 	in
 	encode_enum ~pos:None IPlatform tag pl
 

+ 1 - 1
std/haxe/macro/Compiler.hx

@@ -751,7 +751,7 @@ enum Platform {
 	Flash;
 	Php;
 	Cpp;
-	Java;
+	Jvm;
 	Python;
 	Hl;
 	Eval;