aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-07 10:44:44 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-07 10:44:44 -0200
commit523c5d8e1c5c62f16586e93baceb6fcddd0a3ded (patch)
tree7a2d415fe72859f994b34bb9f86beb1a419f8381 /lundump.h
parent40a4c767739f70645ea71bbf6330f4ad5e48ca55 (diff)
downloadlua-523c5d8e1c5c62f16586e93baceb6fcddd0a3ded.tar.gz
lua-523c5d8e1c5c62f16586e93baceb6fcddd0a3ded.tar.bz2
lua-523c5d8e1c5c62f16586e93baceb6fcddd0a3ded.zip
last changes by lhf.v4.0
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lundump.h b/lundump.h
index 703a3e34..446d2de9 100644
--- a/lundump.h
+++ b/lundump.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.h,v 1.20 2000/09/18 20:03:46 lhf Exp lhf $ 2** $Id: lundump.h,v 1.21 2000/10/31 16:57:23 lhf Exp $
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*/
@@ -23,10 +23,10 @@ int luaU_endianess (void);
23#define SIGNATURE "Lua" /* ...followed by this signature */ 23#define SIGNATURE "Lua" /* ...followed by this signature */
24 24
25/* formats for error messages */ 25/* formats for error messages */
26#define xSOURCE "<%d:%.255s>" 26#define SOURCE_FMT "<%d:%.99s>"
27#define SOURCE "<%.255s:%d>" 27#define SOURCE tf->lineDefined,tf->source->str
28#define IN " in %p " SOURCE 28#define IN_FMT " in %p " SOURCE_FMT
29#define INLOC tf,tf->source->str,tf->lineDefined 29#define IN tf,SOURCE
30 30
31/* a multiple of PI for testing native format */ 31/* a multiple of PI for testing native format */
32/* multiplying by 1E8 gives non-trivial integer values */ 32/* multiplying by 1E8 gives non-trivial integer values */