aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-15 18:26:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-15 18:26:50 -0300
commit5bbb4a06a692ec2c9773274f0f99c7573838e86b (patch)
tree4bfac6a4dde1a3f0764b7bdbdcb697a0581b9452 /ldo.c
parentd4fb848be77f4b0209acaf37a5b5e1cee741ddce (diff)
downloadlua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.tar.gz
lua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.tar.bz2
lua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.zip
removed unused parameter Ä'L' in macro 'api_check' and company
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 4d859048..1a49ceda 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.123 2014/06/19 18:27:20 roberto Exp roberto $ 2** $Id: ldo.c,v 2.124 2014/06/30 19:48:08 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*/
@@ -607,7 +607,7 @@ LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_KFunction k) {
607 L->status = LUA_YIELD; 607 L->status = LUA_YIELD;
608 ci->extra = savestack(L, ci->func); /* save current 'func' */ 608 ci->extra = savestack(L, ci->func); /* save current 'func' */
609 if (isLua(ci)) { /* inside a hook? */ 609 if (isLua(ci)) { /* inside a hook? */
610 api_check(L, k == NULL, "hooks cannot continue after yielding"); 610 api_check(k == NULL, "hooks cannot continue after yielding");
611 } 611 }
612 else { 612 else {
613 if ((ci->u.c.k = k) != NULL) /* is there a continuation? */ 613 if ((ci->u.c.k = k) != NULL) /* is there a continuation? */