parser keeps list of active local variables in a single dynamic array,

therefore saving C stack space
This commit is contained in:
Roberto Ierusalimschy
2009-10-11 17:02:19 -03:00
parent a5382b763c
commit 916587508c
7 changed files with 76 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.109 2009/08/25 19:58:08 roberto Exp roberto $
** $Id: luaconf.h,v 1.110 2009/09/28 16:32:50 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -454,13 +454,6 @@
#define LUAI_MAXCCALLS 200
/*
@@ LUAI_MAXVARS is the maximum number of local variables per function
@* (must be smaller than 250).
*/
#define LUAI_MAXVARS 200
/*
@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
*/