diff options
| -rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 2.104 2012/05/08 13:53:33 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.105 2012/06/08 15:14:04 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -558,7 +558,7 @@ LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { | |||
| 558 | api_checknelems(L, nresults); | 558 | api_checknelems(L, nresults); |
| 559 | if (L->nny > 0) { | 559 | if (L->nny > 0) { |
| 560 | if (L != G(L)->mainthread) | 560 | if (L != G(L)->mainthread) |
| 561 | luaG_runerror(L, "attempt to yield across metamethod/C-call boundary"); | 561 | luaG_runerror(L, "attempt to yield across a C-call boundary"); |
| 562 | else | 562 | else |
| 563 | luaG_runerror(L, "attempt to yield from outside a coroutine"); | 563 | luaG_runerror(L, "attempt to yield from outside a coroutine"); |
| 564 | } | 564 | } |
