diff options
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -898,7 +898,7 @@ int luaG_tracecall (lua_State *L) { | |||
| 898 | if (ci->u.l.savedpc == p->code) { /* first instruction (not resuming)? */ | 898 | if (ci->u.l.savedpc == p->code) { /* first instruction (not resuming)? */ |
| 899 | if (p->flag & PF_ISVARARG) | 899 | if (p->flag & PF_ISVARARG) |
| 900 | return 0; /* hooks will start at VARARGPREP instruction */ | 900 | return 0; /* hooks will start at VARARGPREP instruction */ |
| 901 | else if (!(ci->callstatus & CIST_HOOKYIELD)) /* not yieded? */ | 901 | else if (!(ci->callstatus & CIST_HOOKYIELD)) /* not yielded? */ |
| 902 | luaD_hookcall(L, ci); /* check 'call' hook */ | 902 | luaD_hookcall(L, ci); /* check 'call' hook */ |
| 903 | } | 903 | } |
| 904 | return 1; /* keep 'trap' on */ | 904 | return 1; /* keep 'trap' on */ |
