From 523c5d8e1c5c62f16586e93baceb6fcddd0a3ded Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 Nov 2000 10:44:44 -0200 Subject: last changes by lhf. --- lundump.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lundump.h') 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 */ -- cgit v1.2.3-55-g6feb