Skip to content

Commit 55a426f

Browse files
committed
Merge branch 'master' of https://github.com/actboy168/lua-debug
2 parents 214297b + 77d7f47 commit 55a426f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/launcher/autoattach/lua_module.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ namespace luadebug::autoattach {
1919
return lua_version::lua53;
2020
if (v == "lua54")
2121
return lua_version::lua54;
22+
if (v == "lua55")
23+
return lua_version::lua55;
2224
return lua_version::unknown;
2325
}
2426

@@ -32,6 +34,8 @@ namespace luadebug::autoattach {
3234
return "lua53";
3335
case lua_version::lua54:
3436
return "lua54";
37+
case lua_version::lua55:
38+
return "lua55";
3539
case lua_version::luajit:
3640
return "luajit";
3741
default:
@@ -84,6 +88,8 @@ namespace luadebug::autoattach {
8488
return lua_version::lua53;
8589
case 4:
8690
return lua_version::lua54;
91+
case 5:
92+
return lua_version::lua55;
8793
default:
8894
return lua_version::unknown;
8995
}

src/launcher/autoattach/lua_module.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace luadebug::autoattach {
1414
lua52,
1515
lua53,
1616
lua54,
17+
lua55,
1718
};
1819
struct lua_module {
1920
std::string path;

src/launcher/hook/create_watchdog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ namespace luadebug::autoattach {
3535
{ watch_point::type::common, "luaV_settable" },
3636
};
3737
case lua_version::lua54:
38+
case lua_version::lua55:
3839
return {
3940
{ watch_point::type::common, "luaD_poscall" },
4041
{ watch_point::type::common, "luaH_finishset" },

0 commit comments

Comments
 (0)