diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-06-29 16:23:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-06-29 16:23:33 -0300 |
commit | b926472312ecb1569c58bd59119a3e98ed14855e (patch) | |
tree | 657e40e98647bc26a6ad42441c5e3bf888628559 | |
parent | 78d986590060b615334ac214b6cc5b7d951b1d58 (diff) | |
download | lua-b926472312ecb1569c58bd59119a3e98ed14855e.tar.gz lua-b926472312ecb1569c58bd59119a3e98ed14855e.tar.bz2 lua-b926472312ecb1569c58bd59119a3e98ed14855e.zip |
change in error message
-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 | } |