lua-users home
lua-l archive

Re: lua: too many local variables

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
Bogdan Marinescu wrote:
> I managed to compile Lua 5.1 work4 for a 16-bit embedded target, but now I 
> get the message indicated in the subject line everytime I try to run a file 
> (source file) that has a local declaration somewhere inside it. As I'm not a 
> Lua specialist, I have no idea where does this come from. I saw where it is 
> generated in the source (lparser.c), yet I don't know the cause of the 
> problem. The available memory should be a bit more than 320KB ...
Known bug: change USHRT_MAX in lparser.c to INT_MAX.
http://lua-users.org/lists/lua-l/2005-03/msg00092.html
http://lua-users.org/lists/lua-l/2005-03/msg00093.html
Bye,
 Mike

AltStyle によって変換されたページ (->オリジナル) /