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 /lundump.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 'lundump.c')
-rw-r--r-- | lundump.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.2 2004/04/30 20:13:38 roberto Exp $ | 2 | ** $Id: lundump.c,v 2.3 2004/10/04 19:01:12 roberto Exp roberto $ |
3 | ** load pre-compiled Lua chunks | 3 | ** load pre-compiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -201,7 +201,8 @@ static Proto* LoadFunction (LoadState* S, TString* p) | |||
201 | setptvalue2s(L, L->top, f); | 201 | setptvalue2s(L, L->top, f); |
202 | incr_top(L); | 202 | incr_top(L); |
203 | f->source=LoadString(S); if (f->source==NULL) f->source=p; | 203 | f->source=LoadString(S); if (f->source==NULL) f->source=p; |
204 | f->lineDefined=LoadInt(S); | 204 | f->linedefined=LoadInt(S); |
205 | f->lastlinedefined=LoadInt(S); | ||
205 | f->nups=LoadByte(S); | 206 | f->nups=LoadByte(S); |
206 | f->numparams=LoadByte(S); | 207 | f->numparams=LoadByte(S); |
207 | f->is_vararg=LoadByte(S); | 208 | f->is_vararg=LoadByte(S); |