summaryrefslogtreecommitdiff
path: root/src/lvm.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2002-07-04 12:00:00 +0000
committerrepogen <>2002-07-04 12:00:00 +0000
commit1981b7c90eb09e956e969cda5c473be4560af573 (patch)
treec392e31135e6e22793bf61e4cd493452f2db4216 /src/lvm.c
parent8cb71cb5548e3138e5d4e4744f52c79d9fafb116 (diff)
downloadlua-github-4.0.1.tar.gz
Lua 4.0.14.0.1
Diffstat (limited to 'src/lvm.c')
-rw-r--r--src/lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lvm.c b/src/lvm.c
index 63e42efb..2a00b6a5 100644
--- a/src/lvm.c
+++ b/src/lvm.c
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.c,v 1.146 2000/10/26 12:47:05 roberto Exp $
+** $Id: lvm.c,v 1.146a 2000/10/26 12:47:05 roberto Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -79,7 +79,7 @@ static void traceexec (lua_State *L, StkId base, StkId top, lua_Hook linehook) {
if (newline != ci->line || pc <= ci->lastpc) {
ci->line = newline;
L->top = top;
- luaD_lineHook(L, base-2, newline, linehook);
+ luaD_lineHook(L, base-1, newline, linehook);
}
ci->lastpc = pc;
}