From 7bddb06461d8f80030b3b86175ec737dbb16ac3b Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 4 Jul 2025 14:54:36 +0200 Subject: Added Lua 5.5 support * some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet --- src/universe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/universe.cpp') diff --git a/src/universe.cpp b/src/universe.cpp index 044c841..4db036b 100644 --- a/src/universe.cpp +++ b/src/universe.cpp @@ -447,7 +447,7 @@ int Universe::UniverseGC(lua_State* const L_) if (!lua_isnil(L_, -1)) { lua_pushboolean(L_, _allLanesTerminated); // L_: U finalizer bool // no protection. Lua rules for errors in finalizers apply normally: - // Lua 5.4: error is propagated in the warn system + // Lua 5.4+: error is propagated in the warn system // older: error is swallowed lua_call(L_, 1, 1); // L_: U msg? // phew, no error in finalizer, since we reached that point -- cgit v1.2.3-55-g6feb