From c31d6774ac7db4cfbc548ce507ae65ab6036f873 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 29 Jan 2024 14:29:24 -0300 Subject: Details --- lapi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lapi.h') diff --git a/lapi.h b/lapi.h index a742427c..43845648 100644 --- a/lapi.h +++ b/lapi.h @@ -13,9 +13,8 @@ /* Increments 'L->top.p', checking for stack overflows */ -#define api_incr_top(L) {L->top.p++; \ - api_check(L, L->top.p <= L->ci->top.p, \ - "stack overflow");} +#define api_incr_top(L) \ + (L->top.p++, api_check(L, L->top.p <= L->ci->top.p, "stack overflow")) /* -- cgit v1.2.3-55-g6feb