Roberto Ierusalimschy
|
063d4e4543
Lua 5.3.5 ported to git
|
6 年之前 |
Roberto Ierusalimschy
|
0c78de0d6d
avoid calling write function with empty block
|
9 年之前 |
Roberto Ierusalimschy
|
fcc6e1220e
avoid expression with side effect (in debug mode) inside 'sizeof'
|
10 年之前 |
Roberto Ierusalimschy
|
7e2015a46d
size of short strings stored in a single byte, to reduce the size
|
10 年之前 |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 年之前 |
Roberto Ierusalimschy
|
ca41b43f53
type 'TString' refers directly to the structure inside the union
|
11 年之前 |
Roberto Ierusalimschy
|
7021cc9bc8
allows different 'source' for each prototype, but inherits it from
|
11 年之前 |
Roberto Ierusalimschy
|
04da0a40c0
added assertion about sources being the same for all protos in a chunk
|
11 年之前 |
Roberto Ierusalimschy
|
94266dfdbd
source for all prototypes must be equal in a chunk; no need to store
|
11 年之前 |
Roberto Ierusalimschy
|
607be77ec8
some details to avoid warnings
|
11 年之前 |
Roberto Ierusalimschy
|
420cc62fac
missplelling in comments/function names (endianess -> endianness)
|
11 年之前 |
Roberto Ierusalimschy
|
80fe8504f5
make all dumps/loads go trhough Load/DumpVector (so it is easier
|
11 年之前 |
Roberto Ierusalimschy
|
e976384213
keep chunk's headers compatible at least up to LUAC_VERSION (to be
|
11 年之前 |
Roberto Ierusalimschy
|
197e249433
"indent -kr -i2 -br -brf -nut" plus a few manual formating
|
11 年之前 |
Roberto Ierusalimschy
|
f69e0ade19
no need to store a full 'size_t' fo the size of (frequent) small strings
|
11 年之前 |
Roberto Ierusalimschy
|
99a1c06ea3
more regularity with vectors + sizeof computed by the macros themselves
|
11 年之前 |
Roberto Ierusalimschy
|
93e28031de
all chars used in binary dumps are unsigned ('lu_byte')
|
11 年之前 |
Roberto Ierusalimschy
|
de84b3fecb
store number of upvalues of main function in front of the dump,
|
11 年之前 |
Roberto Ierusalimschy
|
054179c2ff
more explicit handling of headers for binary chunks
|
11 年之前 |
Roberto Ierusalimschy
|
eee51492e2
dumping and undumping integers
|
12 年之前 |
Roberto Ierusalimschy
|
8f8665fffa
'ttypenv' -> 'ttnov'
|
12 年之前 |
Roberto Ierusalimschy
|
f88806a1fb
"default: lua_assert(0)" in switches helps debugging + uses
|
13 年之前 |
Roberto Ierusalimschy
|
6e899850b9
details
|
13 年之前 |
Roberto Ierusalimschy
|
6c8a32217a
changes by lhf (better control of chars x bytes)
|
14 年之前 |
Roberto Ierusalimschy
|
1475cb59bf
version from lhf
|
14 年之前 |
Roberto Ierusalimschy
|
25c557ec63
first version of _ENV; no more global variables
|
15 年之前 |
Roberto Ierusalimschy
|
0ac3d07ea6
first implementation of lexical environments
|
16 年之前 |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
16 年之前 |
Roberto Ierusalimschy
|
1ceec74370
useless test removed (pointed by lint)
|
17 年之前 |
Roberto Ierusalimschy
|
a7c9e45c64
avoid trailing white spaces
|
19 年之前 |