summaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
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 @@
/*
-** $Id: lundump.h,v 1.20 2000/09/18 20:03:46 lhf Exp lhf $
+** $Id: lundump.h,v 1.21 2000/10/31 16:57:23 lhf Exp $
** load pre-compiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -23,10 +23,10 @@ int luaU_endianess (void);
#define SIGNATURE "Lua" /* ...followed by this signature */
/* formats for error messages */
-#define xSOURCE "<%d:%.255s>"
-#define SOURCE "<%.255s:%d>"
-#define IN " in %p " SOURCE
-#define INLOC tf,tf->source->str,tf->lineDefined
+#define SOURCE_FMT "<%d:%.99s>"
+#define SOURCE tf->lineDefined,tf->source->str
+#define IN_FMT " in %p " SOURCE_FMT
+#define IN tf,SOURCE
/* a multiple of PI for testing native format */
/* multiplying by 1E8 gives non-trivial integer values */