diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2009-06-03 13:40:46 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2009-06-03 13:40:46 +0000 |
commit | dd3bed371f5139080aad1cf587daf867f6135b6d (patch) | |
tree | 7ff3798111df6973a19f15af7a102103cd8250c7 /Build/source/texk/web2c/luatexdir/lua51/lvm.c | |
parent | f1ac6f3e0cfbdd6d2d1ab9f5225c2af340039b09 (diff) |
sources for luatex 0.40.2
git-svn-id: svn://tug.org/texlive/trunk@13604 c570f23f-e606-0410-a88d-b1316a301751
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); } } |