Skip to content

Commit

Permalink
Fix platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jan 31, 2024
1 parent 5ba81e5 commit f048baf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/macro/macroApi.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion std/haxe/macro/Compiler.hx
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ enum Platform {
Flash;
Php;
Cpp;
Java;
Jvm;
Python;
Hl;
Eval;
Expand Down

0 comments on commit f048baf

Please sign in to comment.