From 88a50ffa715483e7187c0d7d6caaf708ebacf756 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 29 Mar 2024 15:10:50 -0300 Subject: Fixed dangling 'StkId' in 'luaV_finishget' Bug introduced in 05932567. --- lobject.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index b42539cf..169512f8 100644 --- a/lobject.h +++ b/lobject.h @@ -256,6 +256,8 @@ typedef union { #define l_isfalse(o) (ttisfalse(o) || ttisnil(o)) +#define tagisfalse(t) ((t) == LUA_VFALSE || novariant(t) == LUA_TNIL) + #define setbfvalue(obj) settt_(obj, LUA_VFALSE) -- cgit v1.2.3-55-g6feb