diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.188 2014/10/07 18:29:13 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.189 2014/10/25 11:50:46 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 | */ |
@@ -553,8 +553,11 @@ static int listlocals (lua_State *L) { | |||
553 | static int get_limits (lua_State *L) { | 553 | static int get_limits (lua_State *L) { |
554 | lua_createtable(L, 0, 5); | 554 | lua_createtable(L, 0, 5); |
555 | setnameval(L, "BITS_INT", LUAI_BITSINT); | 555 | setnameval(L, "BITS_INT", LUAI_BITSINT); |
556 | setnameval(L, "MAXARG_Ax", MAXARG_Ax); | ||
557 | setnameval(L, "MAXARG_Bx", MAXARG_Bx); | ||
558 | setnameval(L, "MAXARG_sBx", MAXARG_sBx); | ||
559 | setnameval(L, "BITS_INT", LUAI_BITSINT); | ||
556 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); | 560 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); |
557 | setnameval(L, "MAXSTACK", MAXSTACK); | ||
558 | setnameval(L, "NUM_OPCODES", NUM_OPCODES); | 561 | setnameval(L, "NUM_OPCODES", NUM_OPCODES); |
559 | return 1; | 562 | return 1; |
560 | } | 563 | } |