aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-05 17:47:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-05 17:47:02 -0300
commit1ab2b93462753b5f500ada31353acc444d4e7b7c (patch)
tree0934f3891707f446c3b0d57ba7827243bc1f6e22 /lundump.c
parent6cf85dcc900c71687678bc316164142e76df7385 (diff)
downloadlua-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 74fcf4e0..7b44c425 100644
--- a/lundump.c
+++ b/lundump.c
@@ -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);