From 1ab2b93462753b5f500ada31353acc444d4e7b7c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 May 2005 17:47:02 -0300 Subject: debug information for last line of a function definition --- ldblib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 92ab8e63..80c49ea5 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.93 2005/02/18 12:40:02 roberto Exp roberto $ +** $Id: ldblib.c,v 1.94 2005/03/08 20:10:05 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -105,6 +105,7 @@ static int db_getinfo (lua_State *L) { settabss(L, "source", ar.source); settabss(L, "short_src", ar.short_src); settabsi(L, "linedefined", ar.linedefined); + settabsi(L, "lastlinedefined", ar.lastlinedefined); settabss(L, "what", ar.what); break; case 'l': -- cgit v1.2.3-55-g6feb