summaryrefslogtreecommitdiff
path: root/src/ldump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldump.c')
-rw-r--r--src/ldump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ldump.c b/src/ldump.c
index 967596a1..0c9f00d1 100644
--- a/src/ldump.c
+++ b/src/ldump.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldump.c,v 1.9 2004/11/25 09:31:41 lhf Exp $
+** $Id: ldump.c,v 1.10 2005/05/12 00:26:50 lhf Exp $
** save pre-compiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -136,7 +136,8 @@ static void DumpConstants(const Proto* f, DumpState* D)
static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
{
DumpString((f->source==p) ? NULL : f->source,D);
- DumpInt(f->lineDefined,D);
+ DumpInt(f->linedefined,D);
+ DumpInt(f->lastlinedefined,D);
DumpByte(f->nups,D);
DumpByte(f->numparams,D);
DumpByte(f->is_vararg,D);