Roberto Ierusalimschy
|
12ab78aca6
|
detail in extra trace code: total bytes is given by 'gettotalbytes',
not by 'totalbytes' counter.
|
13 years ago |
Roberto Ierusalimschy
|
45c346645c
|
avoid clearing ephemeron tables that have nothing to be cleaned
(no white elements)
|
13 years ago |
Roberto Ierusalimschy
|
68ce878292
|
cannot compute 'mainposition' before checking whether key is nil
|
13 years ago |
Roberto Ierusalimschy
|
500336efd0
|
small bug in if-goto optimization: block must be closed ('leaveblock')
*before* the jump out ('escapelist')
|
13 years ago |
Roberto Ierusalimschy
|
5ea8f108e1
|
using 'long' versions of 'fseek'/'ftell' when available
|
13 years ago |
Roberto Ierusalimschy
|
2275030b86
|
details (and missing 'break's)
|
13 years ago |
Roberto Ierusalimschy
|
05de314701
|
upvalue names always can be NULL (if debug info was removed), so
always check for that case
|
13 years ago |
Roberto Ierusalimschy
|
d281d23f8d
|
detail (make 'lua_assert' a valid expression even when turned off)
|
13 years ago |
Roberto Ierusalimschy
|
ec431ce5db
|
comment
|
13 years ago |
Roberto Ierusalimschy
|
c8f47c2934
|
optimization for |if cond then goto|
|
13 years ago |
Roberto Ierusalimschy
|
ca458f1f52
|
'luaK_goiffalse' exported
|
13 years ago |
Roberto Ierusalimschy
|
121dc8af66
|
cleaner code for 'if' construct
|
13 years ago |
Roberto Ierusalimschy
|
a8675966ec
|
detail: centralize all tests for Windows on variable 'LUA_WIN'
|
13 years ago |
Roberto Ierusalimschy
|
3dc5475e23
|
'nCcalls' should be local to each thread, as each thread may have its
own C stack (with LuaThreads or something similar)
|
13 years ago |
Roberto Ierusalimschy
|
8a008a2057
|
bug: __newindex metamethod may not work if metatable is its own
metatable.
|
13 years ago |
Roberto Ierusalimschy
|
89b59eee73
|
bug: __newindex metamethod may not work if metatable is its own
metatable + luaV_settable does not create entry when there is a
metamethod (and therefore entry is useless)
|
13 years ago |
Roberto Ierusalimschy
|
166dd0261a
|
new option '-E' to avoid environment variables
|
13 years ago |
Roberto Ierusalimschy
|
51471ba748
|
comments about use of 'luaH_set'
|
13 years ago |
Roberto Ierusalimschy
|
0b65cb74cd
|
new implementation for 'getobjname': first search for relevant
instruction (new function 'findsetreg') and then try to build
a meaningful name
|
13 years ago |
Roberto Ierusalimschy
|
ea46b750dc
|
comment
|
13 years ago |
Roberto Ierusalimschy
|
92afcf2823
|
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
|
13 years ago |
Roberto Ierusalimschy
|
b5bf7d9ef4
|
'string.format' checks whether values for integer formats are
actually integers
|
13 years ago |
Roberto Ierusalimschy
|
6a5d89b39f
|
detail (using array instead of several variables to keep track of
enabled command-line options)
|
13 years ago |
Roberto Ierusalimschy
|
ae14adc272
|
better error message when trying to open files
|
13 years ago |
Roberto Ierusalimschy
|
ff98f17d27
|
detail: factoring in common code for opening files and checking for
errors
|
13 years ago |
Roberto Ierusalimschy
|
59bcd137ae
|
reducing even more use of C stack by the parser: struct 'FuncState'
does not need field 'L' + number of labels/gotos in a chunk may be
limited to SHRT_MAX. (Also removed some non-needed 'unsigned's.)
|
13 years ago |
Roberto Ierusalimschy
|
5ab6d36d99
|
no more field 'L' in 'FuncState'
|
13 years ago |
Roberto Ierusalimschy
|
43c873895f
|
tonumber: base 10 is not special, no base is
|
13 years ago |
Roberto Ierusalimschy
|
03a078493e
|
refuse things like 'inf' or 'Nan' as numerals
|
13 years ago |
Roberto Ierusalimschy
|
bae57ea088
|
'M_IX86' -> '_M_IX86'
|
13 years ago |
Roberto Ierusalimschy
|
2557107e91
|
removed unused variable 'found' (in 'findfield') + removed legacy
test for 'what' being "tail"
|
13 years ago |
Roberto Ierusalimschy
|
32a12e2f3f
|
detail (cleaned whitespaces at end of lines)
|
14 years ago |
Roberto Ierusalimschy
|
559bb554c9
|
no more 'zungetc' (better not to read next char)
|
14 years ago |
Roberto Ierusalimschy
|
fd5e810e08
|
macro 'char2int' replaced by 'cast_uchar' (used by other files)
|
14 years ago |
Roberto Ierusalimschy
|
067f761739
|
better code for numerical escapes
|
14 years ago |
Roberto Ierusalimschy
|
7978a8d8b2
|
added '_M_IX86' in NaN trick
|
14 years ago |
Roberto Ierusalimschy
|
32e09c2a16
|
detail
|
14 years ago |
Roberto Ierusalimschy
|
df19931ddc
|
error on invalid escape sequences
|
14 years ago |
Roberto Ierusalimschy
|
b5084fdafe
|
detail (comment)
|
14 years ago |
Roberto Ierusalimschy
|
d8200d5f3c
|
'\*' -> '\z' + '\?' is not an official escape sequence
|
14 years ago |
Roberto Ierusalimschy
|
79cbc3468c
|
removed and deprecated functions really removed from the code base
|
14 years ago |
Roberto Ierusalimschy
|
9e89a55a4f
|
NILCONSTANT also depends no endianess (with NaN trick)
|
14 years ago |
Roberto Ierusalimschy
|
b707e81c3d
|
comments about some compiler options that should be tested once in a while
|
14 years ago |
Roberto Ierusalimschy
|
ee37ee50d6
|
'table.pack' also returns 'n' + 'deprecated' changed to 'removed'
|
14 years ago |
Roberto Ierusalimschy
|
ad1a54b5c0
|
reordering of some defines (more logical grouping)
|
14 years ago |
Roberto Ierusalimschy
|
88c29c0cd5
|
compilation warning about integer size x pointer size
|
14 years ago |
Roberto Ierusalimschy
|
d93df22bf6
|
small simplifications (and assert was wrongly written)
|
14 years ago |
Roberto Ierusalimschy
|
5017cc6ba2
|
simpler 'luai_apicheck' (and avoids compilation error...)
|
14 years ago |
Roberto Ierusalimschy
|
2f125ebc33
|
'deprecated' x 'removed' (they are not the same thing)
|
14 years ago |
Roberto Ierusalimschy
|
49a01c0991
|
'package.loaders' -> 'package.searchers'
|
14 years ago |