aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ltests.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 5cc2b80a..a2bbb49f 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.231 2017/11/07 17:20:42 roberto Exp roberto $ 2** $Id: ltests.c,v 2.232 2017/11/09 13:31:29 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -799,8 +799,10 @@ static int stacklevel (lua_State *L) {
799 unsigned long a = 0; 799 unsigned long a = 0;
800 lua_pushinteger(L, (L->top - L->stack)); 800 lua_pushinteger(L, (L->top - L->stack));
801 lua_pushinteger(L, (L->stack_last - L->stack)); 801 lua_pushinteger(L, (L->stack_last - L->stack));
802 lua_pushinteger(L, L->nCcalls);
803 lua_pushinteger(L, L->nci);
802 lua_pushinteger(L, (unsigned long)&a); 804 lua_pushinteger(L, (unsigned long)&a);
803 return 3; 805 return 5;
804} 806}
805 807
806 808