Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed error messages at non-ascii %string terminator | Nobuyoshi Nakada | 2020-08-26 | 1 | -0/+6 |
| | |||||
* | Removed a never-true condition | Nobuyoshi Nakada | 2020-08-26 | 1 | -1/+1 |
| | |||||
* | rb_{ary,fnd}_pattern_info: Remove imemo member to reduce memory usage | Kazuki Tsujimoto | 2020-08-02 | 1 | -35/+13 |
| | | | | | | | | | | | | | | | | | | | | | | This is a partial revert commit of 8f096226e1b76f95f4d853d3dea2bc75eeeb5244. NODE layout: Before: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | pconst | pconst | pconst u2 | unused | unused | pkwargs u3 | apinfo | fpinfo | pkwrestarg After: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | imemo | imemo | pkwargs u2 | pconst | pconst | pconst u3 | apinfo | fpinfo | pkwrestarg | ||||
* | Use a linked list to eliminate imemo tmp bufs for managing local tables | Aaron Patterson | 2020-07-27 | 1 | -10/+2 |
| | | | | | | | This patch changes local table memory to be managed by a linked list rather than via the garbage collector. It reduces allocations from the GC and also fixes a use-after-free bug in the concurrent-with-sweep compactor I'm working on. | ||||
* | Switch reserved for numbered parameter warning to SyntaxError | Jeremy Evans | 2020-07-22 | 1 | -2/+2 |
| | |||||
* | Drop token info for endless method definition | Nobuyoshi Nakada | 2020-06-25 | 1 | -0/+23 |
| | | | | Because it does not have closing `end`. | ||||
* | AST.of needs SCRIPT_LINES__ filled with a newline | Nobuyoshi Nakada | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | [ripper] fix mismatched indentations warning [Bug #16981] | Nobuyoshi Nakada | 2020-06-24 | 1 | -4/+5 |
| | | | | | The scanner location has to be set from `lex.ptok` before it is flushed by dispatching the scanner event. | ||||
* | apinfo/fpinfo should always be non-NULL | Kazuki Tsujimoto | 2020-06-14 | 1 | -12/+8 |
| | |||||
* | Introduce find pattern [Feature #16828] | Kazuki Tsujimoto | 2020-06-14 | 1 | -10/+111 |
| | |||||
* | push_pktbl is needed for hash pattern, not for array pattern | Kazuki Tsujimoto | 2020-06-14 | 1 | -3/+2 |
| | |||||
* | Extracted argument forwarding staffs | Nobuyoshi Nakada | 2020-06-13 | 1 | -47/+58 |
| | |||||
* | [ripper] use Ripper DSL | Nobuyoshi Nakada | 2020-06-13 | 1 | -3/+3 |
| | |||||
* | Differentiate `...` in lambda arguments | Nobuyoshi Nakada | 2020-06-07 | 1 | -0/+4 |
| | |||||
* | Add leading arguments support to arguments forwarding | Jeremy Evans | 2020-06-06 | 1 | -0/+41 |
| | | | | | | | | The idFWD_KWREST sections may be wrong. However, the existing idFWD_KWREST sections for ... without leading arguments are already broken. Implements [Feature #16378] | ||||
* | Include the entire lambda expression in lambda rule | Nobuyoshi Nakada | 2020-06-02 | 1 | -25/+6 |
| | |||||
* | Extracted `excessed_comma` to unify ripper and make the order stable | Nobuyoshi Nakada | 2020-06-01 | 1 | -7/+14 |
| | |||||
* | Fixed argument forwarding in reserved word method [Bug #16854] | Nobuyoshi Nakada | 2020-05-15 | 1 | -5/+2 |
| | |||||
* | Endless method definition including `rescue` modifier | Nobuyoshi Nakada | 2020-05-14 | 1 | -2/+34 |
| | |||||
* | sed -i 's|ruby/impl|ruby/internal|' | 卜部昌平 | 2020-05-11 | 1 | -1/+1 |
| | | | | To fix build failures. | ||||
* | sed -i s|ruby/3|ruby/impl|g | 卜部昌平 | 2020-05-11 | 1 | -1/+1 |
| | | | | This shall fix compile errors. | ||||
* | Bison 3.5.91 now defaults parse.error to "simple" | Nobuyoshi Nakada | 2020-05-04 | 1 | -0/+1 |
| | |||||
* | Made parentheses mandatory in endless method defition | Nobuyoshi Nakada | 2020-04-22 | 1 | -15/+7 |
| | | | | | Even for empty argument list, not to be confusing with a writer method name. | ||||
* | Revert "Allow simple R-assign in endless def" | Nobuyoshi Nakada | 2020-04-22 | 1 | -17/+3 |
| | | | | This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a. | ||||
* | Disallow line-continuation before R-assign | Nobuyoshi Nakada | 2020-04-15 | 1 | -2/+1 |
| | |||||
* | Removed duplicate value_expr checks | Nobuyoshi Nakada | 2020-04-14 | 1 | -4/+0 |
| | | | | | `arg_rhs` has the same check and is always a non-void value expression. | ||||
* | Allow simple R-assign in endless def | Nobuyoshi Nakada | 2020-04-13 | 1 | -3/+17 |
| | |||||
* | Relaxed of R-assign value to arg | Nobuyoshi Nakada | 2020-04-12 | 1 | -6/+2 |
| | |||||
* | Endless method definition [Feature #16746] | Nobuyoshi Nakada | 2020-04-10 | 1 | -38/+105 |
| | |||||
* | Rightward-assign by ASSOC | Nobuyoshi Nakada | 2020-04-10 | 1 | -2/+38 |
| | | | | [Feature #15921] | ||||
* | Merge pull request #2991 from shyouhei/ruby.h | 卜部昌平 | 2020-04-08 | 1 | -1/+1 |
| | | | Split ruby.h | ||||
* | New macro `NEW_RIPPER` instead of `NEW_CDECL` | Nobuyoshi Nakada | 2020-04-03 | 1 | -1/+2 |
| | |||||
* | parse.y: hoisted out new_nil_at | Nobuyoshi Nakada | 2020-03-11 | 1 | -41/+17 |
| | | | | new_nil_at: create NEW_NIL node with zero-width location. | ||||
* | parse.y: unified kwrest and no-kwrest | Nobuyoshi Nakada | 2020-03-11 | 1 | -22/+14 |
| | |||||
* | Renamed `lex_flags` as `lex_context` | Nobuyoshi Nakada | 2020-03-05 | 1 | -49/+49 |
| | |||||
* | Preserve `kwarg` flag and fix up f5c904c2a9 | Nobuyoshi Nakada | 2020-03-03 | 1 | -0/+2 |
| | |||||
* | Reduced parser stack usage by merging non-result actions | Nobuyoshi Nakada | 2020-03-02 | 1 | -14/+14 |
| | |||||
* | Packed stacked bit flags into one struct | Nobuyoshi Nakada | 2020-03-02 | 1 | -45/+51 |
| | |||||
* | Allow newlines inside braced pattern | Nobuyoshi Nakada | 2020-03-02 | 1 | -2/+10 |
| | |||||
* | Allow trailing comma in hash pattern | Kazuki Tsujimoto | 2020-03-01 | 1 | -0/+4 |
| | |||||
* | Named `tLABEL` token | Nobuyoshi Nakada | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Refined argument name | Nobuyoshi Nakada | 2020-02-28 | 1 | -3/+3 |
| | |||||
* | Fixed duplicated warning | Nobuyoshi Nakada | 2020-02-10 | 1 | -6/+0 |
| | | | | | As `command_rhs` is always a "value expression", `command_asgn` does not need the same check. | ||||
* | Do not warn CR inside string literal | Nobuyoshi Nakada | 2020-02-04 | 1 | -6/+8 |
| | |||||
* | Make RATIONAL_SET_{NUM,DEN} static inline functions | Kenta Murata | 2020-01-17 | 1 | -1/+1 |
| | |||||
* | Separate numbered parameter scope in eval | Nobuyoshi Nakada | 2020-01-16 | 1 | -1/+1 |
| | | | | [Feature #16432] | ||||
* | Fixed the location of args node with numbered parameter | Nobuyoshi Nakada | 2020-01-16 | 1 | -1/+5 |
| | |||||
* | parse.y: fix a wrong sizeof argument for ruby_sized_xfree | Yusuke Endoh | 2020-01-05 | 1 | -1/+1 |
| | |||||
* | Make eval(code, binding) use (eval) as __FILE__ and 1 as __LINE__ | Jeremy Evans | 2020-01-03 | 1 | -24/+0 |
| | | | | | | | | | This removes the warning that was added in 3802fb92ff8c83eed3e867db20f72c53932f542d, and switches the behavior so that the eval does not use the binding's __FILE__ and __LINE__ implicitly. Fixes [Bug #4352] | ||||
* | decouple internal.h headers | 卜部昌平 | 2019-12-26 | 1 | -11/+27 |
| | | | | | | | | | | | | | | | | | | Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies). |