| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-03-29 | merge revision(s) 1acfb29015dbc38fd345d8786aa78aad59f7dcd1: [Backport #21186] | nagachika | |
| [Bug #21186] multibyte char literal should be a single letter word | |||
| 2024-08-06 | parse.y: const_decl_path don't replace destination node by a literal (#11314) | Jean byroot Boussier | |
| [Bug #20668] The `dest` node is assumed to be a `CDECL`, so overwriting it with a `LIT` cause a crash on the next iteration. Co-authored-by: Jean Boussier <jean.boussier@gmail.com> | |||
| 2024-06-11 | merge revision(s) 27321290: [Backport #20521] | Takashi Kokubun | |
| [Bug #20521] ripper: Clean up strterm | |||
| 2024-06-11 | Raise SyntaxError on invalid encoding symbol (#10967) | Peter Zhu | |
| [Bug #20280] Backport of #10014. | |||
| 2024-06-04 | merge revision(s) 05553cf22d43dd78b8f30cc4591230b5c000c538: [Backport #20517] | Takashi Kokubun | |
| [Bug #20517] Make a multibyte character one token at meta escape | |||
| 2024-05-29 | merge revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954: [Backport #20094] | Takashi Kokubun | |
| [Bug #20094] Distinguish `begin` and parentheses | |||
| 2024-03-14 | Fix test session reuse but expire (#9824) (#10250) | NARUSE, Yui | |
| merge revision(s) 596db9c1f486d6609a4e97d82c8c71b54609fb6f: [Backport #20090] [Feature #19370] Blocks without anonymous parameters should not affect --- parse.y | 4 ++-- test/ruby/test_syntax.rb | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) | |||
| 2024-01-30 | merge revision(s) 3d19409637de1462b6790d2a92344bf0a10d8c52: [Backport #20090] | NARUSE, Yui | |
| Use index for referring to symbols in `args` rule instead of named references In `args: args ',' arg_splat`, `args` is not unique name. Currently the associated rule is interpreted as `$$ = rest_arg_append(p, $$, $3, &@$);`. The action works as expected because `$$` is initialized with `$1` before each action is executed. However it's misleading then change to use index. --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) | |||
| 2024-01-30 | Revert "merge revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954: ↵ | NARUSE, Yui | |
| [Backport #20094]" This reverts commit d4b780e84e9a6b858d0f6c6a44b22da0d2f5835e. | |||
| 2024-01-30 | merge revision(s) bc002971b6ad483dbf69b8a275c44412bb6ab954: [Backport #20094] | NARUSE, Yui | |
| [Bug #20094] Distinguish `begin` and parentheses --- compile.c | 1 + parse.y | 36 +++++++++++++++++++++--------------- test/ruby/test_whileuntil.rb | 18 ++++++++++++++++++ 3 files changed, 40 insertions(+), 15 deletions(-) | |||
| 2023-12-25 | [Feature #19370] Prohibit nesting anonymous parameter forwarding | Nobuyoshi Nakada | |
| 2023-12-22 | Extract `forwarding_arg_check` function | Nobuyoshi Nakada | |
| 2023-12-22 | Extract `arg_splat` nonterminal symbol | Nobuyoshi Nakada | |
| 2023-12-16 | [Bug #20062] Fixed numbered parameter syntax error | Nobuyoshi Nakada | |
| At the method definition, the local scope that saves the context of the numbered parameters needs to be pushed before saving. | |||
| 2023-12-08 | [Bug #19877] Flip-flop needs to be direct condition | Nobuyoshi Nakada | |
| 2023-12-07 | Revert "Warn `it` only with -W:deprecated" | Takashi Kokubun | |
| This reverts commit 5458252bb0edcd498e6bd4bea57fd7500bacd54c. Revert "Fallback rb_warn_deprecated for UNIVERSAL_PARSER" This reverts commit 680be886f4d807073f24beed36648ef76219e4f7. matz actually preferred always warning `it`. | |||
| 2023-12-07 | Fallback rb_warn_deprecated for UNIVERSAL_PARSER | Takashi Kokubun | |
| 2023-12-06 | Warn `it` only with -W:deprecated | Takashi Kokubun | |
| 2023-12-07 | Warn `it` (#9152) | Takashi Kokubun | |
| https://bugs.ruby-lang.org/issues/18980 | |||
| 2023-12-02 | [Bug #20033] Dynamic regexp should not assign captures | Nobuyoshi Nakada | |
| 2023-12-02 | [Bug #19838] Flush delayed token nonconsecutive with the next token | Nobuyoshi Nakada | |
| 2023-12-02 | Extract `end_with_newline_p` | Nobuyoshi Nakada | |
| 2023-12-02 | Prefer proper enum over bare int | Nobuyoshi Nakada | |
| 2023-12-01 | Dispatch invalid hex escape content too | Nobuyoshi Nakada | |
| 2023-12-01 | [Bug #20030] dispatch invalid escaped character without ignoring it | Nobuyoshi Nakada | |
| 2023-11-30 | [Bug #19877] Assign captures for direct regexp literal only | Nobuyoshi Nakada | |
| 2023-11-21 | Reject 'class << (return); end` by "void value expression" | TSUYUSATO Kitsune | |
| 2023-10-31 | Keep unused literal nodes | yui-knk | |
| For static analysis, it’s better to keep unused literal nodes. If simply change `block_append` to fall through, both "unused literal ignored" and "possibly useless use of a literal in void context" warnings are shown for the same line. But it’s verbose then remove "unused literal ignored" warning. This kind of optimization is already implemented on compile.c. `compile_block` calls `iseq_compile_each0` with `popped = 1` when NODE_BLOCK has next. | |||
| 2023-10-30 | Embed `rb_args_info` in `rb_node_args_t` | Nobuyoshi Nakada | |
| 2023-10-26 | [Bug #19973] Warn duplicated keyword arguments after keyword splat | Nobuyoshi Nakada | |
| 2023-10-25 | Removed unused argument | Nobuyoshi Nakada | |
| Eventually, `read_escape` does not use `encp`. | |||
| 2023-10-23 | Use named reference for dyna_push | Nobuyoshi Nakada | |
| 2023-10-23 | Extract p_in_kwarg to save and update lexer contexts | Nobuyoshi Nakada | |
| 2023-10-23 | Move push_pvtbl and push_pktbl in nterms | Nobuyoshi Nakada | |
| 2023-10-23 | Extract p_assoc and p_in to save lexer contexts | Nobuyoshi Nakada | |
| 2023-10-20 | Expand OP_ASGN1 nd_args to nd_index and nd_rvalue | yui-knk | |
| ARGSCAT has been used for nd_args to hold index and rvalue, because there was limitation on the number of members for Node. We can easily change structure of node now, let's expand it. | |||
| 2023-10-15 | Remove not used fields from STR | yui-knk | |
| 2023-10-15 | Check node type before accessing nd_next | yui-knk | |
| This is also a preparation for removing not_used members from STR NODE. Current codes work without node type check because NODE_STR has not_used2 member corresponding to nd_next of NODE_LIST and NODE_DSTR. However it causes problme once not_used members are removed from NODE_STR. | |||
| 2023-10-15 | Stop updating node type from NODE_STR to NODE_DSTR | yui-knk | |
| This is a preparation for removing not_used members from STR NODE. Once not_used members are removed from STR NODE, STR NODE is smaller than DSTR NODE. Therefore allocate NODE_DSTR instead of reusing NODE_STR. | |||
| 2023-10-15 | Remove not used fields from XSTR | yui-knk | |
| 2023-10-15 | Remove not used fields from LIT | yui-knk | |
| 2023-10-14 | Fix node type casts | yui-knk | |
| Use new node type set by nd_set_type. | |||
| 2023-10-14 | Delete heredoc line mark references | Nobuyoshi Nakada | |
| 2023-10-14 | Shorten `rb_strterm_literal_t` members | Nobuyoshi Nakada | |
| 2023-10-14 | Manage `rb_strterm_t` without imemo | Nobuyoshi Nakada | |
| 2023-10-14 | Remove unions in `rb_strterm` structs for alignment | Nobuyoshi Nakada | |
| 2023-10-13 | [Bug #19919] Warn class variable assignment and constant declaration in ↵ | yui-knk | |
| condition | |||
| 2023-10-13 | Use `lex_eol` macros | Nobuyoshi Nakada | |
| 2023-10-13 | [Bug #19924] Source code should be unsigned char stream | Nobuyoshi Nakada | |
| Use `peekc` or `nextc` to fetch the next character, instead of reading from `lex.pcur` directly, for compilers that plain char is signed. | |||
| 2023-10-11 | Extract NODE_FL_NEWLINE access to macro | yui-knk | |
