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 /lfunc.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 'lfunc.c')
| -rw-r--r-- | lfunc.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lfunc.c,v 2.9 2005/02/18 12:40:02 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 2.10 2005/04/29 13:54:05 roberto Exp roberto $ |
| 3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -131,7 +131,8 @@ Proto *luaF_newproto (lua_State *L) { | |||
| 131 | f->lineinfo = NULL; | 131 | f->lineinfo = NULL; |
| 132 | f->sizelocvars = 0; | 132 | f->sizelocvars = 0; |
| 133 | f->locvars = NULL; | 133 | f->locvars = NULL; |
| 134 | f->lineDefined = 0; | 134 | f->linedefined = 0; |
| 135 | f->lastlinedefined = 0; | ||
| 135 | f->source = NULL; | 136 | f->source = NULL; |
| 136 | return f; | 137 | return f; |
| 137 | } | 138 | } |
