Skip to content

Commit

Permalink
[compiler] don't read hxml as hxml
Browse files Browse the repository at this point in the history
closes #10670
  • Loading branch information
Simn committed Apr 5, 2022
1 parent 3cdd184 commit 3f2c650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extra/haxelib_src
Submodule haxelib_src updated 121 files
2 changes: 1 addition & 1 deletion src/compiler/compiler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ module HighLevel = struct
loop_lib arg dir "hxcs" acc args
| arg :: l ->
match List.rev (ExtString.String.nsplit arg ".") with
| "hxml" :: _ when (match acc with "-cmd" :: _ | "--cmd" :: _ -> false | _ -> true) ->
| "hxml" :: _ :: _ when (match acc with "-cmd" :: _ | "--cmd" :: _ -> false | _ -> true) ->
let acc, l = (try acc, Helper.parse_hxml arg @ l with Not_found -> (arg ^ " (file not found)") :: acc, l) in
loop acc l
| _ ->
Expand Down

0 comments on commit 3f2c650

Please sign in to comment.