diff options
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 */ |