diff options
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.194 2018/02/15 15:34:29 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.196 2018/02/17 19:29:29 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 | */ |
@@ -453,7 +453,7 @@ void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1) { | |||
453 | void luaD_call (lua_State *L, StkId func, int nresults) { | 453 | void luaD_call (lua_State *L, StkId func, int nresults) { |
454 | lua_CFunction f; | 454 | lua_CFunction f; |
455 | TValue *funcv = s2v(func); | 455 | TValue *funcv = s2v(func); |
456 | switch (ttype(funcv)) { | 456 | switch (ttypetag(funcv)) { |
457 | case LUA_TCCL: /* C closure */ | 457 | case LUA_TCCL: /* C closure */ |
458 | f = clCvalue(funcv)->f; | 458 | f = clCvalue(funcv)->f; |
459 | goto Cfunc; | 459 | goto Cfunc; |