lua-users home
lua-l archive

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


> 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