aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* parser must work with C locale, but external locale must be preservedRoberto Ierusalimschy2011-06-181-4/+23
|
* label names must be unique inside a functionRoberto Ierusalimschy2011-06-161-12/+27
|
* correct length for LUA_COPYRIGHT (without trailing '\0')Roberto Ierusalimschy2011-06-161-2/+2
|
* avoid warning about -unsigned valueRoberto Ierusalimschy2011-06-162-4/+4
|
* detail (missing cast to unsigned char when converting char to int)Roberto Ierusalimschy2011-06-161-2/+2
|
* avoid conversion from 'const char*' to 'void *' (warning about 'const')Roberto Ierusalimschy2011-06-161-6/+15
|
* 'os.execute' (and similars) should return 'exit' and code in caseRoberto Ierusalimschy2011-06-161-7/+6
| | | | of success, too.
* declarations should be present only when implementations areRoberto Ierusalimschy2011-06-161-1/+4
|
* just in case, avoid side effects in 'ctype' macrosRoberto Ierusalimschy2011-06-151-15/+22
|
* configuration for NaN trick big-endian + macro 'luai_checknum' toRoberto Ierusalimschy2011-06-133-7/+50
| | | | | ensure numbers comming from C are not "improper" (some kinds of signaling NaNs)
* avoid warnings with -Wstrict-overflowRoberto Ierusalimschy2011-06-092-8/+10
|
* better way to test overflows with string indicesRoberto Ierusalimschy2011-06-091-2/+2
|
* macro 'NNMARK' (mark for non-number values using the NaN trick)Roberto Ierusalimschy2011-06-091-4/+6
|
* first version with 'NANTRICK' (packing all Lua values inside a 'double')Roberto Ierusalimschy2011-06-071-15/+103
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-0210-153/+176
|
* yet another macro ('num_')Roberto Ierusalimschy2011-05-311-4/+5
|
* more uniform names for 'equalobj'-related functionsRoberto Ierusalimschy2011-05-315-15/+15
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-317-36/+27
| | | | one with metamethods)
* code is simpler without 'goto' hereRoberto Ierusalimschy2011-05-301-9/+3
|
* yet another macro abstracting TValue representationRoberto Ierusalimschy2011-05-261-12/+13
|
* new macro 'luai_writeline' to print newlines (and flush 'stdout')Roberto Ierusalimschy2011-05-263-9/+11
|
* avoid use of 'ifdef/ifndef'; use 'defined' instead (simpler andRoberto Ierusalimschy2011-05-252-4/+4
| | | | more powerful)
* changes by lhf (better control of chars x bytes)Roberto Ierusalimschy2011-05-173-38/+50
|
* detailsRoberto Ierusalimschy2011-05-061-6/+8
|
* new macro 'lua_longassert' that is equivalent to an assertion withoutRoberto Ierusalimschy2011-05-052-5/+7
| | | | | a stringfication of the condition, to avoid too long string literals (limited by C90 to ~510 characters)
* macro 'checkconsistency' moved to this file, as it is used onlyRoberto Ierusalimschy2011-05-051-1/+5
| | | | here
* break long assertion in two shorter onesRoberto Ierusalimschy2011-05-051-2/+3
|
* avoid using expression as argument to unsafe macro 'l_isfalse'Roberto Ierusalimschy2011-05-051-2/+3
|
* new macros abstracting TValue representation (to easy change toRoberto Ierusalimschy2011-05-051-43/+48
| | | | other representations)
* detail in assertionRoberto Ierusalimschy2011-05-041-2/+2
|
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-036-24/+29
|
* removed TOKEN_LEN (useless)Roberto Ierusalimschy2011-05-032-5/+2
|
* commentRoberto Ierusalimschy2011-05-022-4/+4
|
* MacOS 'strtod' handles hexa formats tooRoberto Ierusalimschy2011-04-291-1/+2
|
* bug in OP_SELF when method name goes to a registerRoberto Ierusalimschy2011-04-282-19/+39
|
* Mac OS defines LUA_USE_AFORMAT and LUA_USE_LONGLONG by defaultRoberto Ierusalimschy2011-04-201-1/+3
|
* 'LUA_USELONGLONG' -> 'LUA_USE_LONGLONG'Roberto Ierusalimschy2011-04-202-4/+4
|
* 'LUA_USELONGLONG' on by default on Linux + LUA_USE_HEXAFLOAT renamedRoberto Ierusalimschy2011-04-191-3/+4
| | | | to LUA_USE_STRTODHEX (as Lua 5.2 always *uses* hexa floats)
* 'luaL_setfuncs' does not need to accept a NULL list. (If there isRoberto Ierusalimschy2011-04-191-3/+6
| | | | no list, there is no reason to call this function.)
* change in opcode OP_LOADNIL: B is used as a counter instead of aRoberto Ierusalimschy2011-04-195-18/+22
| | | | | register. (Avoids an assignment to R(B), not present in any other instruction.)
* small bug (masked by wrong entry for OP_TEST in opcodes.c)Roberto Ierusalimschy2011-04-181-1/+5
|
* added macro for code checkingRoberto Ierusalimschy2011-04-181-1/+7
|
* local function name only visible to debug info after being initializedRoberto Ierusalimschy2011-04-181-1/+6
|
* detail ('luai_apicheck' should be used always through macro 'api_check')Roberto Ierusalimschy2011-04-181-2/+2
|
* copyright updated to 2011Roberto Ierusalimschy2011-04-181-3/+3
|
* small corrections in description of OP_TEST and OP_LOADKXRoberto Ierusalimschy2011-04-121-3/+3
|
* 'luaL_findtable' -> 'luaL_getsubtable'Roberto Ierusalimschy2011-04-086-18/+18
|
* new instruction OP_LOADKX (to replace OP_LOADK with extra argument)Roberto Ierusalimschy2011-04-076-19/+27
|
* cleaner scheme of bits for variant types (light C functions) andRoberto Ierusalimschy2011-04-071-33/+47
| | | | collectable types
* detail (should use macro 'ttisdeadkey')Roberto Ierusalimschy2011-04-051-2/+2
|