still working on porting to lua 5.2

This commit is contained in:
2021-02-28 14:24:59 -05:00
parent 37c3bf8cc1
commit b23728f525
3 changed files with 24 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ static bool is_single_letter(const std::string &s) {
}
LuaConsole::LuaConsole() {
lua_state_ = lua_open();
lua_state_ = luaL_newstate();
clear();
}