[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is this a typo ? "attempt to yield across metamethod/C-call boundary"
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 25 Jun 2012 13:24:05 -0300
> 2012/6/21 云风 <cloudwu@gmail.com>:
> > I read the "ldo.c" , in the line 561 :
> >
> > luaG_runerror(L, "attempt to yield across metamethod/C-call boundary");
> >
> > But, lua 5.2 support yield across metamethod now, is this a typo ?
> >
> > --
> > http://blog.codingnow.com
>
> if you don't give a "continuation", a lua_call/pcall/yeild has
> hebavior just like 5.1's.
>
> regards,
> Xavier Wang
Anyway, the "metamethod" part of the message seems to be wrong. It was
left from 5.1.
-- Roberto