aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-06-29 16:23:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-06-29 16:23:33 -0300
commitb926472312ecb1569c58bd59119a3e98ed14855e (patch)
tree657e40e98647bc26a6ad42441c5e3bf888628559
parent78d986590060b615334ac214b6cc5b7d951b1d58 (diff)
downloadlua-b926472312ecb1569c58bd59119a3e98ed14855e.tar.gz
lua-b926472312ecb1569c58bd59119a3e98ed14855e.tar.bz2
lua-b926472312ecb1569c58bd59119a3e98ed14855e.zip
change in error message
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 9e1a5b00..f1095822 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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 }