From dad85e41311646e37d995d677156d6b5daeff329 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 1 Jun 2017 17:23:27 -0300 Subject: macro 'setobj2t' may not be an expression --- lvm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index 17be5842..d682a7a2 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 2.41 2016/12/22 13:08:50 roberto Exp roberto $ +** $Id: lvm.h,v 2.42 2017/05/11 18:57:46 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -79,7 +79,8 @@ ** 'slot' points to the place to put the value. */ #define luaV_finishfastset(L,t,slot,v) \ - (setobj2t(L, cast(TValue *,slot), v), luaC_barrierback(L, hvalue(t), v)) + { setobj2t(L, cast(TValue *,slot), v); \ + luaC_barrierback(L, hvalue(t), v); } -- cgit v1.2.3-55-g6feb