<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/unescape_test.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/prism] Turn off unescape tests for Ruby &gt;= 3.4.0</title>
<updated>2024-12-27T01:26:54+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-12-27T01:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4cf4cad4abca43c9396ec8f736f0021b3c678f4d'/>
<id>4cf4cad4abca43c9396ec8f736f0021b3c678f4d</id>
<content type='text'>
https://github.com/ruby/prism/commit/f982769314
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f982769314
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Handle escaped characters after controls</title>
<updated>2024-12-26T22:35:28+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-12-26T21:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4d8c9c131021316b854c4c8b877110d5584069d3'/>
<id>4d8c9c131021316b854c4c8b877110d5584069d3</id>
<content type='text'>
Fixes [Bug #20986]

https://github.com/ruby/prism/commit/fd0c563e9e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #20986]

https://github.com/ruby/prism/commit/fd0c563e9e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Pass Unicode escapes on to onigmo</title>
<updated>2024-08-23T19:18:14+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-08-23T19:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3eb42054d9f50a0a65d014bb9e55349938deb97b'/>
<id>3eb42054d9f50a0a65d014bb9e55349938deb97b</id>
<content type='text'>
When we encounter an invalid unicode escape within a regular
expression, we now pass that error on to Onigmo as if it didn't
exist in the parser (which matches the upstream parser's behavior).

We do this because there are tests that specify that you are
allowed to have invalid Unicode escapes if they are within the
context of a regular expression comment for a regular expression
in extended mode. That looks like:

    /# \u /x

Note that this _only_ applies to Unicode escapes (as opposed to
applying to hex or meta/control escapes as well). Importantly it
also only applies if the regular expression is terminated. An
unterminated regular expression will still get error handling done
in the parser. That would look like:

    /# \u

that would result in the same error handling we have today.

https://github.com/ruby/prism/commit/fb98034806
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we encounter an invalid unicode escape within a regular
expression, we now pass that error on to Onigmo as if it didn't
exist in the parser (which matches the upstream parser's behavior).

We do this because there are tests that specify that you are
allowed to have invalid Unicode escapes if they are within the
context of a regular expression comment for a regular expression
in extended mode. That looks like:

    /# \u /x

Note that this _only_ applies to Unicode escapes (as opposed to
applying to hex or meta/control escapes as well). Importantly it
also only applies if the regular expression is terminated. An
unterminated regular expression will still get error handling done
in the parser. That would look like:

    /# \u

that would result in the same error handling we have today.

https://github.com/ruby/prism/commit/fb98034806
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Disallow unescape test on FFI backend</title>
<updated>2024-05-30T19:36:40+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-30T19:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4558abec020b786eb337f6edf4e114cae80228aa'/>
<id>4558abec020b786eb337f6edf4e114cae80228aa</id>
<content type='text'>
https://github.com/ruby/prism/commit/32277722d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/32277722d4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Tests overhaul</title>
<updated>2024-05-30T19:18:20+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-29T14:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=72452f43871b8034bfa718ed823bc62b5b81d6f9'/>
<id>72452f43871b8034bfa718ed823bc62b5b81d6f9</id>
<content type='text'>
https://github.com/ruby/prism/commit/6f886be0a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/6f886be0a4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Mark errors for invalid symbols</title>
<updated>2024-05-01T16:43:05+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-01T16:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=41f8ae1ffdca349d0301b480c690e83a1dd1e723'/>
<id>41f8ae1ffdca349d0301b480c690e83a1dd1e723</id>
<content type='text'>
https://github.com/ruby/prism/commit/661884c4a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/661884c4a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up regexp memory leaks</title>
<updated>2024-03-08T18:48:55+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-03-08T15:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=609bbad15da6fe91904bdcd139f9e24e3cf61d4b'/>
<id>609bbad15da6fe91904bdcd139f9e24e3cf61d4b</id>
<content type='text'>
https://github.com/ruby/prism/commit/4dc58a533a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/4dc58a533a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up tilde heredoc line continuations</title>
<updated>2024-03-07T20:25:24+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-03-07T19:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76e11595e28e258f4a4187a6d3eaccc9ca752e10'/>
<id>76e11595e28e258f4a4187a6d3eaccc9ca752e10</id>
<content type='text'>
https://github.com/ruby/prism/commit/15e74b2f65
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/15e74b2f65
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up PR failings</title>
<updated>2023-10-13T19:31:30+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-12T15:38:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=11e946da2fa1af217a78c631cfbd88db5d0b5148'/>
<id>11e946da2fa1af217a78c631cfbd88db5d0b5148</id>
<content type='text'>
https://github.com/ruby/prism/commit/11255f636e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/11255f636e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Remove now-defunct semantic_field from nodes</title>
<updated>2023-10-13T19:31:30+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-12T15:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d06523bc52a4486db4193d7a6771e76c31157777'/>
<id>d06523bc52a4486db4193d7a6771e76c31157777</id>
<content type='text'>
https://github.com/ruby/prism/commit/c82a9dad64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/c82a9dad64
</pre>
</div>
</content>
</entry>
</feed>
