diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua51/lvm.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua51/lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua51/lvm.c b/Build/source/texk/web2c/luatexdir/lua51/lvm.c index ee3256ab94d..8b8624cf338 100644 --- a/Build/source/texk/web2c/luatexdir/lua51/lvm.c +++ b/Build/source/texk/web2c/luatexdir/lua51/lvm.c @@ -68,10 +68,10 @@ static void traceexec (lua_State *L, const Instruction *pc) { if (mask & LUA_MASKLINE) { Proto *p = ci_func(L->ci)->l.p; int npc = pcRel(pc, p); - int newline = getline(p, npc); + int newline = GETLINE(p, npc); /* call linehook when enter a new function, when jump back (loop), or when enter a new line */ - if (npc == 0 || pc <= oldpc || newline != getline(p, pcRel(oldpc, p))) + if (npc == 0 || pc <= oldpc || newline != GETLINE(p, pcRel(oldpc, p))) luaD_callhook(L, LUA_HOOKLINE, newline); } } |