From 2258ec6bc94bc127024a49e29a0b40f58a5ae0a3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 10 Jun 2009 13:57:53 -0300 Subject: 'getline' renamed to 'getfuncline' (to avoid problems with POSIX) --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 4e26fbe6..e2c15f14 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.62 2009/04/17 22:00:01 roberto Exp roberto $ +** $Id: ltests.c,v 2.63 2009/06/01 19:09:26 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -402,7 +402,7 @@ static char *buildop (Proto *p, int pc, char *buff) { Instruction i = p->code[pc]; OpCode o = GET_OPCODE(i); const char *name = luaP_opnames[o]; - int line = getline(p, pc); + int line = getfuncline(p, pc); sprintf(buff, "(%4d) %4d - ", line, pc); switch (getOpMode(o)) { case iABC: -- cgit v1.2.3-55-g6feb