diff options
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.19 2000/11/07 12:44:44 roberto Exp roberto $ | 2 | ** $Id: lundump.h,v 1.20 2001/02/23 17:17:25 roberto Exp roberto $ |
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 | */ |
@@ -20,12 +20,10 @@ int luaU_endianess (void); | |||
20 | #define VERSION 0x40 /* last format change was in 4.0 */ | 20 | #define VERSION 0x40 /* last format change was in 4.0 */ |
21 | #define VERSION0 0x40 /* last major change was in 4.0 */ | 21 | #define VERSION0 0x40 /* last major change was in 4.0 */ |
22 | #define ID_CHUNK 27 /* binary files start with ESC... */ | 22 | #define ID_CHUNK 27 /* binary files start with ESC... */ |
23 | #define SIGNATURE l_s("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 SOURCE_FMT l_s("<%d:%.99s>") | ||
27 | #define SOURCE tf->lineDefined,tf->source->str | 26 | #define SOURCE tf->lineDefined,tf->source->str |
28 | #define IN_FMT l_s(" in %p ") SOURCE_FMT | ||
29 | #define IN tf,SOURCE | 27 | #define IN tf,SOURCE |
30 | 28 | ||
31 | /* a multiple of PI for testing native format */ | 29 | /* a multiple of PI for testing native format */ |