aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lparser.c b/lparser.c
index 502a9b2d..bcdcfb6d 100644
--- a/lparser.c
+++ b/lparser.c
@@ -489,11 +489,7 @@ static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) {
489} 489}
490 490
491 491
492static void enterlevel (LexState *ls) { 492#define enterlevel(ls) luaE_incCstack(ls->L)
493 lua_State *L = ls->L;
494 L->nCcalls++;
495 checklimit(ls->fs, getCcalls(L), LUAI_MAXCCALLS, "C levels");
496}
497 493
498 494
499#define leavelevel(ls) ((ls)->L->nCcalls--) 495#define leavelevel(ls) ((ls)->L->nCcalls--)