Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug: Long brackets with a huge number of '=' causes overflow | Roberto Ierusalimschy | 2018-12-17 | 1 | -14/+17 |
| | | | | | | | A long bracket with too many equal signs can overflow the 'int' used for the counting and some arithmetic done on the value. Changing the counter to 'size_t' avoids that. (Because what is counted goes to a buffer, an overflow in the counter will first raise a buffer-overflow error.) | ||||
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | now that 'luaO_str2num' always accepts a dot as a radix character, | Roberto Ierusalimschy | 2016-05-02 | 1 | -33/+2 |
| | | | | the lexer does not need to bother with this issue. | ||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -2/+2 |
| | |||||
* | macro 'buff2num' replaced by its body (it caused more harm than good | Roberto Ierusalimschy | 2015-10-28 | 1 | -5/+3 |
| | | | | to readability) | ||||
* | reuse of 'addinfo' by lexical errors | Roberto Ierusalimschy | 2015-05-22 | 1 | -4/+3 |
| | |||||
* | more consistent use of locale radix character across Lua | Roberto Ierusalimschy | 2015-04-03 | 1 | -7/+2 |
| | |||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-28 | 1 | -5/+7 |
| | |||||
* | detail (use 'luaS_newliteral' when possible) | Roberto Ierusalimschy | 2015-03-03 | 1 | -3/+3 |
| | |||||
* | small bug (error of "chunk has too many lines" might use 't.token' | Roberto Ierusalimschy | 2014-11-14 | 1 | -2/+3 |
| | | | | before reading the first token) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 1 | -2/+2 |
| | |||||
* | detail | Roberto Ierusalimschy | 2014-10-26 | 1 | -2/+2 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -7/+7 |
| | |||||
* | added 'l_' prefix for names that can be redefined externally | Roberto Ierusalimschy | 2014-10-22 | 1 | -4/+4 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -4/+4 |
| | |||||
* | '$c' in 'lua_pushfstring' prints non-printable characters with | Roberto Ierusalimschy | 2014-10-10 | 1 | -4/+3 |
| | | | | their codes | ||||
* | better to use 'long' to represent UTF-8 code points | Roberto Ierusalimschy | 2014-10-01 | 1 | -3/+3 |
| | |||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -6/+6 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -3/+3 |
| | | | | problems detected by this check) | ||||
* | small improvements concerning 'check_next' | Roberto Ierusalimschy | 2014-05-21 | 1 | -25/+39 |
| | |||||
* | better error message for unfinished long strings/comments | Roberto Ierusalimschy | 2014-05-11 | 1 | -4/+8 |
| | |||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -2/+2 |
| | | | | receiving it | ||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts | Roberto Ierusalimschy | 2014-04-30 | 1 | -27/+25 |
| | | | | to float or integer according to the string syntax) | ||||
* | new syntax for Unicode escape '\u{012F}' | Roberto Ierusalimschy | 2014-02-14 | 1 | -5/+8 |
| | |||||
* | UTF-8 encoding exported as format '%U' in 'lua_pushfstring' | Roberto Ierusalimschy | 2014-02-06 | 1 | -18/+7 |
| | |||||
* | added support for UTF-8 escapes | Roberto Ierusalimschy | 2014-02-04 | 1 | -11/+45 |
| | |||||
* | simpler way to create messages for errors in escape sequences | Roberto Ierusalimschy | 2014-01-31 | 1 | -27/+31 |
| | |||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -6/+9 |
| | |||||
* | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 2013-08-30 | 1 | -6/+9 |
| | | | | a single constant table for all functions in a chunk) | ||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -4/+6 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 1 | -2/+2 |
| | | | | from Lua; these must fit in a lua_Integer | ||||
* | 'luaO_str2int' more generic: accepts white spaces around the numeral | Roberto Ierusalimschy | 2013-05-14 | 1 | -2/+3 |
| | | | | and handles signal | ||||
* | new operation '//' (integer division) | Roberto Ierusalimschy | 2013-04-26 | 1 | -2/+7 |
| | |||||
* | first implementation of literal integers (no constant folding yet) | Roberto Ierusalimschy | 2013-04-16 | 1 | -17/+30 |
| | |||||
* | typos in comments | Roberto Ierusalimschy | 2013-03-16 | 1 | -2/+2 |
| | |||||
* | added some comments | Roberto Ierusalimschy | 2012-12-05 | 1 | -4/+4 |
| | |||||
* | field 'reserved' -> 'extra' (may be used for other purposes too) | Roberto Ierusalimschy | 2012-01-23 | 1 | -4/+4 |
| | |||||
* | bug: Lexical gets confused with some combination of arithmetic | Roberto Ierusalimschy | 2012-01-20 | 1 | -5/+16 |
| | | | | operators and hexadecimal numbers | ||||
* | more uses of 'l_noret' | Roberto Ierusalimschy | 2011-11-30 | 1 | -4/+4 |
| | |||||
* | comments about use of 'luaH_set' | Roberto Ierusalimschy | 2011-08-15 | 1 | -1/+3 |
| | |||||
* | comment | Roberto Ierusalimschy | 2011-08-11 | 1 | -2/+2 |
| | |||||
* | no more 'luaH_setstr (used only once) + 'luaH_setint' receives value | Roberto Ierusalimschy | 2011-08-09 | 1 | -2/+2 |
| | | | | to be set. | ||||
* | no more 'zungetc' (better not to read next char) | Roberto Ierusalimschy | 2011-07-15 | 1 | -19/+19 |
| | |||||
* | better code for numerical escapes | Roberto Ierusalimschy | 2011-07-15 | 1 | -28/+19 |
| | |||||
* | detail | Roberto Ierusalimschy | 2011-07-08 | 1 | -4/+4 |
| | |||||
* | error on invalid escape sequences | Roberto Ierusalimschy | 2011-07-08 | 1 | -31/+38 |
| | |||||
* | detail (comment) | Roberto Ierusalimschy | 2011-07-06 | 1 | -2/+2 |
| | |||||
* | '\*' -> '\z' + '\?' is not an official escape sequence | Roberto Ierusalimschy | 2011-07-05 | 1 | -3/+3 |
| | |||||
* | label syntax changed to '::label::' | Roberto Ierusalimschy | 2011-06-23 | 1 | -2/+7 |
| |