summaryrefslogtreecommitdiff
path: root/src/ldump.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2006-02-21 12:00:00 +0000
committerrepogen <>2006-02-21 12:00:00 +0000
commitf6f9af6cbce3516054b6fd2a8e9d3a1b168ce4be (patch)
tree445f56eafe5b8b782287fca4ca4197ba4970d322 /src/ldump.c
parent69c6ee1f592c6588bc11a8e02811230e77e984cf (diff)
downloadlua-github-5.1.tar.gz
Lua 5.15.1
Diffstat (limited to 'src/ldump.c')
-rw-r--r--src/ldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldump.c b/src/ldump.c
index 73463410..f08277d3 100644
--- a/src/ldump.c
+++ b/src/ldump.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldump.c,v 1.14 2005/11/11 14:03:13 lhf Exp $
+** $Id: ldump.c,v 1.15 2006/02/16 15:53:49 lhf Exp $
** save precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -128,7 +128,7 @@ static void DumpDebug(const Proto* f, DumpState* D)
static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
{
- DumpString((f->source==p) ? NULL : f->source,D);
+ DumpString((f->source==p || D->strip) ? NULL : f->source,D);
DumpInt(f->linedefined,D);
DumpInt(f->lastlinedefined,D);
DumpChar(f->nups,D);