1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00

no need for a maximum number of parameters (maximum number of locals

take care of that).
This commit is contained in:
Roberto Ierusalimschy 2003-07-29 16:26:34 -03:00
parent a0a384a6b1
commit 91bf77534c
2 changed files with 2 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.54 2003/04/28 19:57:50 roberto Exp roberto $
** $Id: llimits.h,v 1.55 2003/05/14 21:01:53 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@ -156,12 +156,6 @@ typedef lu_int32 Instruction;
#endif
/* maximum number of parameters in a function */
#ifndef MAXPARAMS
#define MAXPARAMS 100 /* <MAXLOCALS */
#endif
/* minimum size for the string table (must be power of 2) */
#ifndef MINSTRTABSIZE
#define MINSTRTABSIZE 32

View File

@ -1,5 +1,5 @@
/*
** $Id: ltests.c,v 1.161 2003/05/14 21:10:07 roberto Exp roberto $
** $Id: ltests.c,v 1.162 2003/07/09 12:08:43 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@ -246,7 +246,6 @@ static int get_limits (lua_State *L) {
setnameval(L, "BITS_INT", BITS_INT);
setnameval(L, "LFPF", LFIELDS_PER_FLUSH);
setnameval(L, "MAXVARS", MAXVARS);
setnameval(L, "MAXPARAMS", MAXPARAMS);
setnameval(L, "MAXSTACK", MAXSTACK);
setnameval(L, "MAXUPVALUES", MAXUPVALUES);
return 1;