Justin Collins a écrit :
Hello all,
I ran into a problem where module.c seems to be failing a stack check
around line 151:
if( stack < istack || stack >= MAX_STACK_PER_FUNCTION - 4 )
In particular, it is the "stack >= MAX_STACK_PER_FUNCTION - 4" which is
true (and apparently bad).
I am guessing this means something like I have too many local variables
inside a function?
Indeed.
You cannot have more than 124 locals inside a given function.
That's already a lot :)
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)