aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-11 17:02:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-11 17:02:19 -0300
commit916587508c117decb2f4d70677fa06be18803874 (patch)
tree24f930dcb544c9ddb5a15394537b5d7d8e64169e /ltests.c
parenta5382b763c2faa4c47e55ee0e49889b4c47daac4 (diff)
downloadlua-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 40a7f965..4fb7a4d2 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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;