Skip to content

Commit

Permalink
Improve lua support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Jan 14, 2023
1 parent 196d6fe commit 15df317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hx/files/Dir.hx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class Dir {
#if lua
// workaround for https://github.com/HaxeFoundation/haxe/issues/6946
final parts = [ path ];
final _p = path;
var _p = path;
while ((_p = _p.parent) != null) {
if (_p.isRoot)
break;
Expand Down
1 change: 1 addition & 0 deletions src/hx/files/internal/Macros.hx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Macros {
def.exists("hl") ||
def.exists("eval") ||
def.exists("java") ||
def.exists("lua") ||
def.exists("neko") ||
def.exists("nodejs") ||
def.exists("phantomjs") ||
Expand Down

0 comments on commit 15df317

Please sign in to comment.