summaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-08-15 10:48:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-08-15 10:48:53 -0300
commit433cb1d13a767023e03111fc09c46903f40366ff (patch)
treedf5d105368debb523ea838c3e0c06e60c94ae9ca /lundump.c
parentd66198719d10e393dfba57c1f4aeea307cdb49ea (diff)
downloadlua-433cb1d13a767023e03111fc09c46903f40366ff.tar.gz
lua-433cb1d13a767023e03111fc09c46903f40366ff.tar.bz2
lua-433cb1d13a767023e03111fc09c46903f40366ff.zip
no more checks for non-default compilation options + luaU_dump has
new option to strip debug info
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lundump.c b/lundump.c
index 151a8507..a4a9bc26 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.c,v 1.49 2003/04/07 20:34:20 lhf Exp $ 2** $Id: lundump.c,v 1.49 2003/04/07 20:34:20 lhf Exp lhf $
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*/
@@ -241,10 +241,6 @@ static void LoadHeader (LoadState* S)
241 TESTSIZE(sizeof(int),"int"); 241 TESTSIZE(sizeof(int),"int");
242 TESTSIZE(sizeof(size_t), "size_t"); 242 TESTSIZE(sizeof(size_t), "size_t");
243 TESTSIZE(sizeof(Instruction), "Instruction"); 243 TESTSIZE(sizeof(Instruction), "Instruction");
244 TESTSIZE(SIZE_OP, "OP");
245 TESTSIZE(SIZE_A, "A");
246 TESTSIZE(SIZE_B, "B");
247 TESTSIZE(SIZE_C, "C");
248 TESTSIZE(sizeof(lua_Number), "number"); 244 TESTSIZE(sizeof(lua_Number), "number");
249 x=LoadNumber(S); 245 x=LoadNumber(S);
250 if ((long)x!=(long)tx) /* disregard errors in last bits of fraction */ 246 if ((long)x!=(long)tx) /* disregard errors in last bits of fraction */