Makes lua 5.1 workable again

Issue #2389
This commit is contained in:
Felipe Zimmerle 2020-09-21 10:04:40 -03:00
parent e9dce44f6a
commit 377fb723ca
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 2 additions and 3 deletions

View File

@ -155,8 +155,7 @@ int Lua::run(Transaction *t, const std::string &str) {
case LUA_ERRMEM: case LUA_ERRMEM:
e.assign("Memory error. "); e.assign("Memory error. ");
break; break;
#if defined(WITH_LUA_5_1) and !defined(WITH_LUA_5_4) #if !defined(WITH_LUA_5_1) and !defined(WITH_LUA_5_4)
case LUA_ERRGCMM: case LUA_ERRGCMM:
e.assign("Garbage Collector error. "); e.assign("Garbage Collector error. ");
break; break;

@ -1 +1 @@
Subproject commit c8cf2c588a93dce20781e597643e1b9d11aa4bba Subproject commit d03f4c1e930440df46c1faa37d820a919704d9da