Roberto Ierusalimschy
|
73abfde2ef
small simplifications around 'luaT_callorderTM'
|
7 anni fa |
Roberto Ierusalimschy
|
26679ea35b
new function 'luaV_flttointeger' to convert floats to integers (without
|
7 anni fa |
Roberto Ierusalimschy
|
ad0704e40c
back to 'CallInfo' (no gains with its removal)
|
7 anni fa |
Roberto Ierusalimschy
|
54eb35a8aa
more fields moved out of 'CallInfo'
|
7 anni fa |
Roberto Ierusalimschy
|
9ed9f40f1e
avoid warning about 'const'
|
8 anni fa |
Roberto Ierusalimschy
|
1b10033583
new function 'luaT_trybiniTM'
|
8 anni fa |
Roberto Ierusalimschy
|
6d998055c8
no more reference 'memerrmsg' + new reference to "n"
|
8 anni fa |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 anni fa |
Roberto Ierusalimschy
|
5c8770f896
back to old-style vararg system (with vararg table collecting extra
|
8 anni fa |
Roberto Ierusalimschy
|
fb9de1b4d7
detail ('luaT_callbinTM' does not need to be extern)
|
8 anni fa |
Roberto Ierusalimschy
|
a3d36fe283
Upvalues collected like everything else (with mark-sweep) instead
|
8 anni fa |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
8 anni fa |
Roberto Ierusalimschy
|
7777b412de
When available, use metafield '__name' in error messages
|
9 anni fa |
Roberto Ierusalimschy
|
46de77b219
bug: despite its name, 'luaH_getstr' did not work for strings in
|
9 anni fa |
Roberto Ierusalimschy
|
ff1289a361
in 'luaD_call', use two functions instead of one with fixed boolean
|
9 anni fa |
Roberto Ierusalimschy
|
3a91274547
details (avoid 'lint' warnings)
|
10 anni fa |
Roberto Ierusalimschy
|
5fbd40dbe5
'x//y' extended to floats
|
10 anni fa |
Roberto Ierusalimschy
|
779381fe9e
detail (comment)
|
10 anni fa |
Roberto Ierusalimschy
|
ad20689feb
better error message for bitwise operators (they are not arithmetic...)
|
10 anni fa |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 anni fa |
Roberto Ierusalimschy
|
ca41b43f53
type 'TString' refers directly to the structure inside the union
|
11 anni fa |
Roberto Ierusalimschy
|
56137d58ff
added check for conversion 'obj2gco' (and corrections for small
|
11 anni fa |
Roberto Ierusalimschy
|
1a3656e56e
more relaxed rules for __eq metamethod (more similar to other
|
11 anni fa |
Roberto Ierusalimschy
|
218f358461
errors like 1e100 << "2" were giving wrong messages
|
11 anni fa |
Roberto Ierusalimschy
|
1ea2d20f74
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 anni fa |
Roberto Ierusalimschy
|
c0edab0f6d
first implementation of bitwise operators '&' (band), '|' (bor),
|
11 anni fa |
Roberto Ierusalimschy
|
a948054a19
new order for binary operations (grouping them by type of result)
|
11 anni fa |
Roberto Ierusalimschy
|
af35c7f398
upvalues collected by reference count
|
12 anni fa |
Roberto Ierusalimschy
|
0df6635711
"fixed" objects kept in a separated list (instead of being kept in
|
12 anni fa |
Roberto Ierusalimschy
|
f2043b7a58
correct error message for conversion errors from float to int
|
12 anni fa |