From a12133243cea09938038483f60cd7cc602f73c3d Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Mon, 5 Jul 2021 16:21:02 -0400 Subject: [PATCH] eris: disable the __persist metamethod for tables --- luprex/eris-master/src/eris.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luprex/eris-master/src/eris.c b/luprex/eris-master/src/eris.c index 5695f41a..5fa7c691 100644 --- a/luprex/eris-master/src/eris.c +++ b/luprex/eris-master/src/eris.c @@ -1118,12 +1118,12 @@ u_special(Info *info, int type, Callback literal) { /* ... */ static void p_table(Info *info) { /* ... tbl */ - p_special(info, p_literaltable); /* ... tbl */ + p_literaltable(info); } static void -u_table(Info *info) { /* ... */ - u_special(info, LUA_TTABLE, u_literaltable); /* ... tbl */ +u_table(Info *info) { + u_literaltable(info); /* ... tbl */ eris_assert(lua_type(info->L, -1) == LUA_TTABLE); }