Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-15 | Extract the wrapped value when yydebug [Bug #18075] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4742 | |||
2021-05-21 | ripper: wrap endless method in bodystmt [Bug #17869] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4516 | |||
2021-05-21 | ripper: assertions for rescue/ensure in method body | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/4516 | |||
2021-03-21 | Pattern matching pin operator against expression [Feature #17411] | Kazuki Tsujimoto | |
This commit is based on the patch by @nobu. | |||
2021-02-19 | Fix typo [ci skip] | Shugo Maeda | |
2021-02-19 | ripper: fix a bug of Ripper::Lexer with syntax error and heredoc [Bug #17644] | Shugo Maeda | |
2021-01-17 | Fix Ripper with heredoc. | manga_osyo | |
Notes: Merged: https://github.com/ruby/ruby/pull/4083 | |||
2021-01-09 | parse.y: handle "duplicated argument name" appropriately on ripper.y | Nobuhiro IMAI | |
refs: 733ed1e184 | |||
2020-12-23 | ripper: fix bad label parameter handling [Bug #17425] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/3977 | |||
2020-12-19 | ripper: fix `#tok` on some error events [Bug 17345] | Nobuhiro IMAI | |
sorting alias target by event arity, and setup suitable `Elem` for error. Notes: Merged: https://github.com/ruby/ruby/pull/3936 | |||
2020-12-16 | Ripper: Fixed erred token on wrong alias [Bug #17345] | Nobuyoshi Nakada | |
2020-12-15 | Ripper: Refined error callbacks [Bug #17345] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/3909 | |||
2020-11-26 | Store all kinds of syntax errors [Bug #17345] | Nobuyoshi Nakada | |
2020-11-26 | Removed a duplicate assertion | Nobuyoshi Nakada | |
2020-11-20 | Ripper.{lex,tokenize} return full tokens even if syntax error | Nobuhiro IMAI | |
yet another implements [Feature #17276] | |||
2020-11-17 | Support raise_errors keyword for Ripper.{lex,tokenize,sexp,sexp_raw} | Jeremy Evans | |
Implements [Feature #17276] Notes: Merged: https://github.com/ruby/ruby/pull/3774 Merged-By: jeremyevans <code@jeremyevans.net> | |||
2020-11-02 | ripper: Invalid pragma value warning | Nobuyoshi Nakada | |
2020-10-26 | Assoc pattern matching (#3703) | Nobuyoshi Nakada | |
[Feature #17260] One-line pattern matching using tASSOC R-assignment is rejected instead. Notes: Merged-By: nobu <nobu@ruby-lang.org> | |||
2020-10-19 | Add a Ripper.lex test of :on_embexpr_end | Takashi Kokubun | |
This is a weird use case of Ripper.lex which I'm not sure is supposed to be maintained, so I'm adding this test so that we can easily notice such changes. If we change the behavior, this will break the behavior of hamlit.gem v1 and code like https://github.com/haml/haml/pull/1043. | |||
2020-10-12 | Prohibit setter method names in all kinds of endless methods | Nobuyoshi Nakada | |
Also unwrap NODE_RIPPER to check the method name. Notes: Merged: https://github.com/ruby/ruby/pull/3649 | |||
2020-06-25 | Drop token info for endless method definition | Nobuyoshi Nakada | |
Because it does not have closing `end`. | |||
2020-06-25 | [ripper] added endless method definition event tests | Nobuyoshi Nakada | |
2020-06-24 | [ripper] fix mismatched indentations warning [Bug #16981] | Nobuyoshi Nakada | |
The scanner location has to be set from `lex.ptok` before it is flushed by dispatching the scanner event. | |||
2020-06-24 | [ripper] fail unless got warning as expected | Nobuyoshi Nakada | |
2020-06-14 | Introduce find pattern [Feature #16828] | Kazuki Tsujimoto | |
2020-06-06 | Add leading arguments support to arguments forwarding | Jeremy Evans | |
The idFWD_KWREST sections may be wrong. However, the existing idFWD_KWREST sections for ... without leading arguments are already broken. Implements [Feature #16378] Notes: Merged: https://github.com/ruby/ruby/pull/3190 | |||
2020-04-28 | Removed unnecessary RLIMIT_AS | Nobuyoshi Nakada | |
Even without this limit, these assertions almost certainly cause a NoMemoryError by removing the fix in 72ad8595f20. | |||
2019-12-20 | Warn also numbered parameter like parameters | Nobuyoshi Nakada | |
[Feature #16433] | |||
2019-11-26 | [ripper] Fixed unique key check in pattern matching | Nobuyoshi Nakada | |
Check keys * by an internal table, instead of unstable dispatched results * and by parsed key values, instead of escaped forms in the source | |||
2019-11-25 | [ripper] Quoted label without expression must be a local variable | Nobuyoshi Nakada | |
The difference from 0b8c73aa65add5c57b46b0cfdf4e661508802172 is to add the result of `string_add` event to marking objects. ```C RNODE($1)->nd_rval = add_mark_object(p, $$); ``` | |||
2019-11-20 | Revert "[ripper] Quoted label without expression must be a local variable" | Nobuyoshi Nakada | |
This reverts commit 0b8c73aa65add5c57b46b0cfdf4e661508802172, which seems breaking RVALUE consistency check. | |||
2019-11-19 | [ripper] Quoted label without expression must be a local variable | Nobuyoshi Nakada | |
2019-11-14 | `#@1` is no longer an embedded variable | Nobuyoshi Nakada | |
2019-11-12 | Revert "Method reference operator" | Nobuyoshi Nakada | |
This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275] | |||
2019-10-22 | Arguments forwarding [Feature #16253] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/2575 | |||
2019-09-25 | Removed idNUMPARAM_0 | Nobuyoshi Nakada | |
2019-09-24 | Changed numbered parameter prefix | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/2431 | |||
2019-09-13 | Name dynamically defined methods with line numbers | Nobuyoshi Nakada | |
2019-08-30 | Make ripper support **nil syntax | Jeremy Evans | |
The on_params hook will use :nil as the keyword rest argument. There is a new on_nokw_param hook as well. This fixes a type issue in the previous code, where an ID was passed where a VALUE was the declared type. The symbol :nil is passed instead of the id. Notes: Merged: https://github.com/ruby/ruby/pull/2395 | |||
2019-08-29 | Revert "Add pipeline operator [Feature #15799]" | Nobuyoshi Nakada | |
This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645 | |||
2019-08-09 | double memory limit on MJIT. | Koichi Sasada | |
On test with MJIT, sometimes it fails like: http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2189967 | |||
2019-07-23 | Split test/ripper/test_files.rb to run in parallel | Nobuyoshi Nakada | |
2019-07-06 | Added assertions for Unicode escaped CHAR scanner events | Nobuyoshi Nakada | |
2019-07-04 | Do not dispatch a nil token in ripper | Nobuyoshi Nakada | |
As a comment token includes the newline, so delayed newline token just follows it should not be dispatched. [Bug #11485] Co-Authored-By: Jeremy Evans <code@jeremyevans.net> | |||
2019-06-28 | Add parentheses to suppress a warning | Nobuyoshi Nakada | |
2019-06-28 | Test string content | Nobuyoshi Nakada | |
2019-06-28 | Removed unused variables | Nobuyoshi Nakada | |
2019-06-28 | Fixed a variable name | Nobuyoshi Nakada | |
2019-06-27 | Fix ripper fatal | Nobuyoshi Nakada | |
* parse.y (parser_yylex): return END_OF_INPUT at unterminated here document instead of an error. [Bug #15962] | |||
2019-06-27 | Test for unterminated here-docs | Nobuyoshi Nakada | |