diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-05 17:47:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-05 17:47:02 -0300 |
commit | 1ab2b93462753b5f500ada31353acc444d4e7b7c (patch) | |
tree | 0934f3891707f446c3b0d57ba7827243bc1f6e22 /ldblib.c | |
parent | 6cf85dcc900c71687678bc316164142e76df7385 (diff) | |
download | lua-1ab2b93462753b5f500ada31353acc444d4e7b7c.tar.gz lua-1ab2b93462753b5f500ada31353acc444d4e7b7c.tar.bz2 lua-1ab2b93462753b5f500ada31353acc444d4e7b7c.zip |
debug information for last line of a function definition
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.93 2005/02/18 12:40:02 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.94 2005/03/08 20:10:05 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -105,6 +105,7 @@ static int db_getinfo (lua_State *L) { | |||
105 | settabss(L, "source", ar.source); | 105 | settabss(L, "source", ar.source); |
106 | settabss(L, "short_src", ar.short_src); | 106 | settabss(L, "short_src", ar.short_src); |
107 | settabsi(L, "linedefined", ar.linedefined); | 107 | settabsi(L, "linedefined", ar.linedefined); |
108 | settabsi(L, "lastlinedefined", ar.lastlinedefined); | ||
108 | settabss(L, "what", ar.what); | 109 | settabss(L, "what", ar.what); |
109 | break; | 110 | break; |
110 | case 'l': | 111 | case 'l': |