Roberto Ierusalimschy
|
42ff788e53
comments
|
11 years ago |
Roberto Ierusalimschy
|
ffa43df3cd
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
|
11 years ago |
Roberto Ierusalimschy
|
e98ba351ce
n^-m gives float result (instead of error)
|
11 years ago |
Roberto Ierusalimschy
|
f61ceee708
LUAI_FUNC is being used only in header files
|
11 years ago |
Roberto Ierusalimschy
|
607be77ec8
some details to avoid warnings
|
11 years ago |
Roberto Ierusalimschy
|
da4811238a
details (typos in comments)
|
11 years ago |
Roberto Ierusalimschy
|
2aff75f58e
small bug (from revision 2.80): LUA_OP* constants are not from
|
11 years ago |
Roberto Ierusalimschy
|
cd12410195
new macro 'cast_void'
|
11 years ago |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 years ago |
Roberto Ierusalimschy
|
99ac4a260f
'constfolding' passes a proper Lua state to 'luaO_arith'
|
11 years ago |
Roberto Ierusalimschy
|
fa7e77fd38
detail ('codearith' uses 'LUA_OP*' constants instead of 'OP_*')
|
11 years ago |
Roberto Ierusalimschy
|
19ad78d713
C++ needs casts for arithmetic with enums
|
11 years ago |
Roberto Ierusalimschy
|
86dd8bf3f5
no more 'L' in macros "luai_num*" (several places that use those macros
|
11 years ago |
Roberto Ierusalimschy
|
1ea2d20f74
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 years ago |
Roberto Ierusalimschy
|
f5133aa1a5
small change in handling of unary operations
|
11 years ago |
Roberto Ierusalimschy
|
c0edab0f6d
first implementation of bitwise operators '&' (band), '|' (bor),
|
11 years ago |
Roberto Ierusalimschy
|
a948054a19
new order for binary operations (grouping them by type of result)
|
11 years ago |
Roberto Ierusalimschy
|
a8f8c7fd80
integer exponentiation with negative exponent is invalid
|
11 years ago |
Roberto Ierusalimschy
|
8ef9e8460e
bug (GC can collect long identifier during parser) + change (using
|
12 years ago |
Roberto Ierusalimschy
|
483c2ccd0f
avoid using raw representation of numbers for hashing, as number may
|
12 years ago |
Roberto Ierusalimschy
|
f45177f2d3
In the table that hashes constants, use a light userdata as keys
|
12 years ago |
Roberto Ierusalimschy
|
1f2b82bf25
correct way to avoid compile-time errors in integer divisions
|
12 years ago |
Roberto Ierusalimschy
|
67532d5a10
constant folding and API arithmetic with integers
|
12 years ago |
Roberto Ierusalimschy
|
00744a2729
'luaO_arith' -> 'luaO_numarith'
|
12 years ago |
Roberto Ierusalimschy
|
a2f5c28a80
new operation '//' (integer division)
|
12 years ago |
Roberto Ierusalimschy
|
5951c79ae1
default increment for 'for' loop is an integer (1, not 1.0)
|
12 years ago |
Roberto Ierusalimschy
|
1294b09d8e
first implementation of literal integers (no constant folding yet)
|
12 years ago |
Roberto Ierusalimschy
|
7a543cfae6
|
12 years ago |
Roberto Ierusalimschy
|
a3e1c40d6d
remove of unecessary luaD_checkstack. (In some cases, C should
|
13 years ago |
Roberto Ierusalimschy
|
53480f1163
details (remove of some extra spaces)
|
13 years ago |