aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index 288aef13..64fe2915 100644
--- a/ldo.c
+++ b/ldo.c
@@ -459,10 +459,10 @@ void luaD_call (lua_State *L, StkId func, int nresults) {
459 lua_CFunction f; 459 lua_CFunction f;
460 retry: 460 retry:
461 switch (ttypetag(s2v(func))) { 461 switch (ttypetag(s2v(func))) {
462 case LUA_TCCL: /* C closure */ 462 case LUA_VCCL: /* C closure */
463 f = clCvalue(s2v(func))->f; 463 f = clCvalue(s2v(func))->f;
464 goto Cfunc; 464 goto Cfunc;
465 case LUA_TLCF: /* light C function */ 465 case LUA_VLCF: /* light C function */
466 f = fvalue(s2v(func)); 466 f = fvalue(s2v(func));
467 Cfunc: { 467 Cfunc: {
468 int n; /* number of returns */ 468 int n; /* number of returns */
@@ -485,7 +485,7 @@ void luaD_call (lua_State *L, StkId func, int nresults) {
485 luaD_poscall(L, ci, n); 485 luaD_poscall(L, ci, n);
486 break; 486 break;
487 } 487 }
488 case LUA_TLCL: { /* Lua function */ 488 case LUA_VLCL: { /* Lua function */
489 CallInfo *ci; 489 CallInfo *ci;
490 Proto *p = clLvalue(s2v(func))->p; 490 Proto *p = clLvalue(s2v(func))->p;
491 int narg = cast_int(L->top - func) - 1; /* number of real arguments */ 491 int narg = cast_int(L->top - func) - 1; /* number of real arguments */