aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* new macro 'ttisequal'Roberto Ierusalimschy2011-04-053-7/+6
|
* 2nd operand for unary tag methods does not need to be 'nil'Roberto Ierusalimschy2011-04-051-3/+2
|
* lua_arith gets no fake operand for unary minusRoberto Ierusalimschy2011-04-051-7/+15
|
* all names used internally by macros end with '_'Roberto Ierusalimschy2011-04-051-28/+28
|
* use of 'luaL_tolstring' for option '%s' in 'string.format'Roberto Ierusalimschy2011-03-181-3/+3
|
* macro 'mark' renamed 'EOFMARK' ('mark' is too easy to confict, e.g.Roberto Ierusalimschy2011-03-141-4/+4
| | | | in alllua.c)
* returns for file-related functions and process-related functionsRoberto Ierusalimschy2011-03-034-82/+85
| | | | unified in 'auxlib'
* loaders receive an extra argument returned by the searcherRoberto Ierusalimschy2011-03-011-23/+32
| | | | (typically the file name)
* small problems with 'luaone.c'Roberto Ierusalimschy2011-02-285-11/+16
|
* no need of lookahead in ZioRoberto Ierusalimschy2011-02-238-41/+29
|
* correct interpretation of return value from pcloseRoberto Ierusalimschy2011-02-211-28/+34
|
* small bug: may call reader function again after it returned endRoberto Ierusalimschy2011-02-172-4/+10
| | | | of input
* error for repeated label + jumps allowed to labels followed byRoberto Ierusalimschy2011-02-141-24/+34
| | | | 'no-op' statements
* 'break' does not need to be last statement in a block +Roberto Ierusalimschy2011-02-141-81/+84
| | | | 'explist1' -> 'explist' + moving a few functions around
* p-close returns "correct" status plus type of terminationRoberto Ierusalimschy2011-02-101-16/+36
|
* 'break' coded as 'goto' + small bug when closing multiple gotosRoberto Ierusalimschy2011-02-101-59/+52
| | | | to the same label
* simpler code for repeat-untilRoberto Ierusalimschy2011-02-091-11/+5
|
* corrected 'follow' for checking whether label is last statementRoberto Ierusalimschy2011-02-091-14/+21
| | | | in a block