<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/ripper, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[DOC] Stop document Ripper::Lexer</title>
<updated>2024-12-25T04:07:22+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-12-25T04:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=871124c3ea9ccdc0e53efac73369786b494f6f96'/>
<id>871124c3ea9ccdc0e53efac73369786b494f6f96</id>
<content type='text'>
`:nodoc:` seems not working for inner classes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`:nodoc:` seems not working for inner classes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leak in Ripper for indented heredocs</title>
<updated>2024-09-25T12:56:14+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-09-23T17:55:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=407f8b871668b257f28303a74cf38cc2b53ca965'/>
<id>407f8b871668b257f28303a74cf38cc2b53ca965</id>
<content type='text'>
The allocated parser string is never freed, which causes a memory leak.

The following code leaks memory:

    Ripper.sexp_raw(DATA.read)

    __END__
    &lt;&lt;~EOF
      a
        #{1}
      a
    EOF
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The allocated parser string is never freed, which causes a memory leak.

The following code leaks memory:

    Ripper.sexp_raw(DATA.read)

    __END__
    &lt;&lt;~EOF
      a
        #{1}
      a
    EOF
</pre>
</div>
</content>
</entry>
<entry>
<title>Reuse dedent_string function in rb_ruby_ripper_dedent_string function</title>
<updated>2024-09-22T03:22:20+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2024-09-20T23:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=95d26ee41e136088560caa04943d177342795b5b'/>
<id>95d26ee41e136088560caa04943d177342795b5b</id>
<content type='text'>
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_dedent_string functions and remove dependencies on rb_str_modify and rb_str_set_len from the parser.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is reduce Ruby C API dependency for Universal Parser.
Reuse dedent_string functions in rb_ruby_ripper_dedent_string functions and remove dependencies on rb_str_modify and rb_str_set_len from the parser.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #20649] Allow `nil` as 2nd argument of `assign_error`</title>
<updated>2024-07-24T13:18:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-07-24T12:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=97449338d6cb42d9dd7c9ca61550616e7e6b6ef6'/>
<id>97449338d6cb42d9dd7c9ca61550616e7e6b6ef6</id>
<content type='text'>
Fallback to the last token element in that case, for the backward
compatibilities.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fallback to the last token element in that case, for the backward
compatibilities.
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Introduce `RIPPER_ID` macro instead of `ripper_id_` macros</title>
<updated>2024-06-08T04:20:46+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-06-08T04:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=18fcec23bfdaaff372ae657ed0e338c6e351e5e3'/>
<id>18fcec23bfdaaff372ae657ed0e338c6e351e5e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Extend to represent array access and splat</title>
<updated>2024-05-21T04:52:30+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-12T10:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4c7ec5e0148bda451631d738af95d528a507557f'/>
<id>4c7ec5e0148bda451631d738af95d528a507557f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Allow parenthesized comma in options</title>
<updated>2024-05-21T04:52:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-12T09:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66446b94358a78ddd168e5ce0b5ac475bb34ec50'/>
<id>66446b94358a78ddd168e5ce0b5ac475bb34ec50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Preserve indentation</title>
<updated>2024-05-21T04:52:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-12T02:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=47efdae6028e39bbe8f35d325e26e6bc206251ef'/>
<id>47efdae6028e39bbe8f35d325e26e6bc206251ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Remove rb_ripper_none</title>
<updated>2024-05-21T04:52:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-12T02:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=147134b474fc74b68537750a2f63c81a87bd0e86'/>
<id>147134b474fc74b68537750a2f63c81a87bd0e86</id>
<content type='text'>
Now it is used only for wheter `opt_paren_args` is `none`.  Introduce
a new special node to distinguish an empty parentheses from it .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now it is used only for wheter `opt_paren_args` is `none`.  Introduce
a new special node to distinguish an empty parentheses from it .
</pre>
</div>
</content>
</entry>
<entry>
<title>ripper: Short hand for `rb_ary_new_from_args`</title>
<updated>2024-05-21T04:52:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-10T14:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2e765c20dbd542d43155749910421b0f7963524f'/>
<id>2e765c20dbd542d43155749910421b0f7963524f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
