diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
commit | dd3a63c205a97339d8c8aec3cd49941bc10ba45c (patch) | |
tree | 763c1701607ace52692c8566277c6c70c7895acd /lundump.h | |
parent | cb49b088b61b75b905663a58a2c545de1ffea13a (diff) | |
download | lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.gz lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.bz2 lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.zip |
new way to handle `profiles'
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 */ |