diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-10-11 17:02:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-10-11 17:02:19 -0300 |
commit | 916587508c117decb2f4d70677fa06be18803874 (patch) | |
tree | 24f930dcb544c9ddb5a15394537b5d7d8e64169e /ltests.c | |
parent | a5382b763c2faa4c47e55ee0e49889b4c47daac4 (diff) | |
download | lua-916587508c117decb2f4d70677fa06be18803874.tar.gz lua-916587508c117decb2f4d70677fa06be18803874.tar.bz2 lua-916587508c117decb2f4d70677fa06be18803874.zip |
parser keeps list of active local variables in a single dynamic array,
therefore saving C stack space
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.74 2009/09/30 20:49:25 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.75 2009/10/05 16:44:33 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 | */ |
@@ -491,7 +491,6 @@ static int get_limits (lua_State *L) { | |||
491 | lua_createtable(L, 0, 5); | 491 | lua_createtable(L, 0, 5); |
492 | setnameval(L, "BITS_INT", LUAI_BITSINT); | 492 | setnameval(L, "BITS_INT", LUAI_BITSINT); |
493 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); | 493 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); |
494 | setnameval(L, "MAXVARS", LUAI_MAXVARS); | ||
495 | setnameval(L, "MAXSTACK", MAXSTACK); | 494 | setnameval(L, "MAXSTACK", MAXSTACK); |
496 | setnameval(L, "NUM_OPCODES", NUM_OPCODES); | 495 | setnameval(L, "NUM_OPCODES", NUM_OPCODES); |
497 | return 1; | 496 | return 1; |