Roberto Ierusalimschy
|
2583bac3d3
several small changes to simplify changing TValue if needed
|
16 жил өмнө |
Roberto Ierusalimschy
|
63a3b1a1eb
macro 'checkvalref' redefined as function (to avoid too long macros)
|
16 жил өмнө |
Roberto Ierusalimschy
|
fbf866a1a5
macro 'gkey' returns a "real" TValue*
|
16 жил өмнө |
Roberto Ierusalimschy
|
49a67c6d3f
new macro 'NILCONSTANT' to initialize nil constants
|
16 жил өмнө |
Roberto Ierusalimschy
|
a921d81033
avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey'
|
16 жил өмнө |
Roberto Ierusalimschy
|
155dd01163
avoid using 'ttype' when there is an explicit test
|
16 жил өмнө |
Roberto Ierusalimschy
|
599789a907
better to enclose macros in 'if' bodies with brackets
|
16 жил өмнө |
Roberto Ierusalimschy
|
9756f56354
better control over accesses to TValue fields
|
16 жил өмнө |
Roberto Ierusalimschy
|
b7d5f18d71
api functions to manipulate upvalues do not need to check their
|
16 жил өмнө |
Roberto Ierusalimschy
|
5598b2bc55
new functions to identify and join upvalues
|
16 жил өмнө |
Roberto Ierusalimschy
|
77077b39d5
comment explaining OP_VARARG was wrong (and corresponding code was not
|
16 жил өмнө |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 жил өмнө |
Roberto Ierusalimschy
|
f5073de0a7
'ipairs' goes until length of array instead of stopping at the first nil
|
16 жил өмнө |
Roberto Ierusalimschy
|
f6ed285cf2
new hash for doubles based on frexp, to avoid low-level tricks
|
16 жил өмнө |
Roberto Ierusalimschy
|
1448e736f0
better documentation for constructor syntax
|
16 жил өмнө |
Roberto Ierusalimschy
|
6e415e9387
local function definition does not need to correct debug information
|
16 жил өмнө |
Roberto Ierusalimschy
|
b114c99a60
two small bugs: 'debug.getinfo' did not consider negative indices as out
|
16 жил өмнө |
Roberto Ierusalimschy
|
916587508c
parser keeps list of active local variables in a single dynamic array,
|
16 жил өмнө |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 жил өмнө |
Roberto Ierusalimschy
|
ba21aa8b2b
'cpcall' must ensure correct environment for called function
|
16 жил өмнө |
Roberto Ierusalimschy
|
d119cf3035
a few more instructions to testC (func2udata and getfield)
|
16 жил өмнө |
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
|
1829911d7c
some operations may shrink g->totalbytes so g->estimate must be
|
16 жил өмнө |
Roberto Ierusalimschy
|
bed2cb725a
initialize g->estimate (just in case)
|
16 жил өмнө |
Roberto Ierusalimschy
|
ab75bd23ee
handle extended opcodes (with OP_EXTRAARG) when checking metamethod
|
16 жил өмнө |
Roberto Ierusalimschy
|
cee94df6e0
function list in luaL_register may be NULL for an empty list
|
16 жил өмнө |
Roberto Ierusalimschy
|
fcc46467fa
limit of constants per function changed to 2^26 using extra arguments
|
16 жил өмнө |
Roberto Ierusalimschy
|
f8e354e240
detail (space between function name and its parameter list)
|
16 жил өмнө |
Roberto Ierusalimschy
|
a650378822
'cpcall' reimplemented as a predefined value in the registry
|
16 жил өмнө |