Roberto Ierusalimschy
|
505fc91222
no more 'luaO_nilobject' to avoid comparison of global variable addresses
|
7 år sedan |
Roberto Ierusalimschy
|
deb807837c
'luaO_pushvfstring' does not need to reallocate stack
|
7 år sedan |
Roberto Ierusalimschy
|
34b00c16e2
removed compatibility code with older versions
|
7 år sedan |
Roberto Ierusalimschy
|
e2b15aa21d
janitor work on casts
|
7 år sedan |
Roberto Ierusalimschy
|
a9295a2b8e
typos in comments
|
7 år sedan |
Roberto Ierusalimschy
|
599f1742c6
detail (typo in comments)
|
7 år sedan |
Roberto Ierusalimschy
|
e4e5aa85a2
detail ('signal' -> 'sign' in comments)
|
7 år sedan |
Roberto Ierusalimschy
|
26679ea35b
new function 'luaV_flttointeger' to convert floats to integers (without
|
7 år sedan |
Roberto Ierusalimschy
|
911f1e3e7f
raw operation should not convert strings to numbers
|
7 år sedan |
Roberto Ierusalimschy
|
4dff277255
coercion string->number in arithmetic operations moved to string
|
8 år sedan |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 år sedan |
Roberto Ierusalimschy
|
a9dbc2d641
assert removed in 'luaO_arith'
|
8 år sedan |
Roberto Ierusalimschy
|
a45945b6d5
new macro 'lua_pointer2str' to encapsulate use of 'l_sprintf' inside
|
8 år sedan |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
8 år sedan |
Roberto Ierusalimschy
|
09c9fa36ea
small corrections for C++ compliance
|
9 år sedan |
Roberto Ierusalimschy
|
10b0b09555
do not convert decimal constants with overflow to integers.
|
9 år sedan |
Roberto Ierusalimschy
|
ed110f66c5
'luaO_str2num' (and, therefore, 'lua_stringtonumber', 'number',
|
9 år sedan |
Roberto Ierusalimschy
|
2d1d57bc18
comments
|
9 år sedan |
Roberto Ierusalimschy
|
8c1fb91802
macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used
|
9 år sedan |
Roberto Ierusalimschy
|
332a06bbd1
'luaO_pushvfstring' now uses 'incr_top' to increment top.
|
9 år sedan |
Roberto Ierusalimschy
|
e89763e964
simpler code for 'luaO_fb2int'
|
10 år sedan |
Roberto Ierusalimschy
|
19eb6ae580
using 'snprintf' in C99 (both for documentation of buffer sizes
|
10 år sedan |
Roberto Ierusalimschy
|
69b5f7a410
some details in 'luaO_int2fb' + more consistent use of the locale
|
10 år sedan |
Roberto Ierusalimschy
|
e723c75c02
details (avoid 'lint' warnings)
|
10 år sedan |
Roberto Ierusalimschy
|
c8d6cb0136
macros 'luai_num*' (for float arithmetic operations) moved to
|
10 år sedan |
Roberto Ierusalimschy
|
fb6796ba06
removed useless initializations
|
10 år sedan |
Roberto Ierusalimschy
|
5fbd40dbe5
'x//y' extended to floats
|
10 år sedan |
Roberto Ierusalimschy
|
81c39a5244
no need to cast '*s' to unsigned char when we know it is a digit +
|
10 år sedan |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 år sedan |
Roberto Ierusalimschy
|
59fbbf0a65
small simplifications in code for 'lua_strx2number'
|
10 år sedan |