diff options
| author | Lua Team <team@lua.org> | 2005-05-20 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2005-05-20 12:00:00 +0000 |
| commit | bf6b5550cdfbc0c4a3a4577776ad76628d80718e (patch) | |
| tree | d714ef8ac5581536c0f8bb2c8e90e2b8207799b1 /src/lundump.c | |
| parent | e6ddfd3b09c0a3727afc773029c323a3defe50fa (diff) | |
| download | lua-github-bf6b5550cdfbc0c4a3a4577776ad76628d80718e.tar.gz | |
Lua 5.1-work65.1-work6
Diffstat (limited to 'src/lundump.c')
| -rw-r--r-- | src/lundump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lundump.c b/src/lundump.c index e13a4e48..8ceb571b 100644 --- a/src/lundump.c +++ b/src/lundump.c @@ -1,5 +1,5 @@ /* -** $Id: lundump.c,v 1.54 2004/11/25 09:31:41 lhf Exp $ +** $Id: lundump.c,v 1.55 2005/05/12 00:26:50 lhf Exp $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -206,7 +206,8 @@ static Proto* LoadFunction (LoadState* S, TString* p) Proto* f=luaF_newproto(S->L); setptvalue2s(S->L,S->L->top,f); incr_top(S->L); f->source=LoadString(S); if (f->source==NULL) f->source=p; - f->lineDefined=LoadInt(S); + f->linedefined=LoadInt(S); + f->lastlinedefined=LoadInt(S); f->nups=LoadByte(S); f->numparams=LoadByte(S); f->is_vararg=LoadByte(S); |
