summaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-10 13:57:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-10 13:57:53 -0300
commit2258ec6bc94bc127024a49e29a0b40f58a5ae0a3 (patch)
treeb748fbe9028183c4aa4727a24cf3a50382819b6b /ldebug.c
parent2598138eced28b6ff8d4db9550a4e70c26cd4baa (diff)
downloadlua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.tar.gz
lua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.tar.bz2
lua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.zip
'getline' renamed to 'getfuncline' (to avoid problems with POSIX)
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 3e32f4a9..db5d1ebb 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.50 2009/05/04 18:26:21 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -44,7 +44,7 @@ static int currentline (CallInfo *ci) {
44 if (pc < 0) 44 if (pc < 0)
45 return -1; /* only active lua functions have current-line information */ 45 return -1; /* only active lua functions have current-line information */
46 else 46 else
47 return getline(ci_func(ci)->l.p, pc); 47 return getfuncline(ci_func(ci)->l.p, pc);
48} 48}
49 49
50 50