lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 979a663d2a8200591e263c9a7643b7379b2d7ac9
parent 22952d89738dab09afc4d23e79677d973356db48
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Mon,  1 Sep 2014 14:59:39 -0300

detail (error message from 'coroutine.status')

Diffstat:
Mlcorolib.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lcorolib.c b/lcorolib.c @@ -1,5 +1,5 @@ /* -** $Id: lcorolib.c,v 1.5 2013/02/21 13:44:53 roberto Exp roberto $ +** $Id: lcorolib.c,v 1.6 2014/05/08 13:52:20 roberto Exp roberto $ ** Coroutine Library ** See Copyright Notice in lua.h */ @@ -19,7 +19,7 @@ static lua_State *getco (lua_State *L) { lua_State *co = lua_tothread(L, 1); - luaL_argcheck(L, co, 1, "coroutine expected"); + luaL_argcheck(L, co, 1, "thread expected"); return co; }