diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-15 18:26:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-15 18:26:50 -0300 |
commit | 5bbb4a06a692ec2c9773274f0f99c7573838e86b (patch) | |
tree | 4bfac6a4dde1a3f0764b7bdbdcb697a0581b9452 /ldo.c | |
parent | d4fb848be77f4b0209acaf37a5b5e1cee741ddce (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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? */ |