[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua debug info
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 15 Dec 2005 18:02:08 -0200
> > t=new_test()
> > =t:func(3)
> 0: self
> 1: self
> 2: self
> 3: self
> 4: self
So the debug info is corrupted... Can you add this piece of code in
luaI_registerlocalvar (lparser.c:144, just before the return) and
see what it prints?
{ int i; for (i=0; i<f->nlocvars; i++)
printf("%d: %s ", f->locvars[i].varname; printf("\n"); }
-- Roberto