last changes by lhf.

This commit is contained in:
Roberto Ierusalimschy
2000-11-07 10:44:44 -02:00
parent 40a4c76773
commit 523c5d8e1c
3 changed files with 517 additions and 521 deletions

View File

@@ -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 */