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) --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 3e32f4a9..db5d1ebb 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.50 2009/05/04 18:26:21 roberto Exp roberto $ +** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -44,7 +44,7 @@ static int currentline (CallInfo *ci) { if (pc < 0) return -1; /* only active lua functions have current-line information */ else - return getline(ci_func(ci)->l.p, pc); + return getfuncline(ci_func(ci)->l.p, pc); } -- cgit v1.2.3-55-g6feb