<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_parse.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) d503e1b95a40e45d7767e0175de60092de4ba54e: [Backport #20030]</title>
<updated>2024-07-15T12:51:03+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-07-15T12:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a804d5514c7c0608b9fb52426ec3ec738420ad29'/>
<id>a804d5514c7c0608b9fb52426ec3ec738420ad29</id>
<content type='text'>
	[Bug #20030] dispatch invalid escaped character without ignoring it
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20030] dispatch invalid escaped character without ignoring it
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 17b0643392749f45b7aacb64fc1c1bd704d42b4c: [Backport #19924]</title>
<updated>2023-11-10T02:41:57+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-11-10T02:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=482e1f573ee45ef562cc6d218ba26d44660f8e0a'/>
<id>482e1f573ee45ef562cc6d218ba26d44660f8e0a</id>
<content type='text'>
	[Bug #19924] Source code should be unsigned char stream

	Use `peekc` or `nextc` to fetch the next character, instead of reading
	from `lex.pcur` directly, for compilers that plain char is signed.
	---
	 parse.y                 | 10 +++++-----
	 test/ruby/test_parse.rb |  2 ++
	 2 files changed, 7 insertions(+), 5 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #19924] Source code should be unsigned char stream

	Use `peekc` or `nextc` to fetch the next character, instead of reading
	from `lex.pcur` directly, for compilers that plain char is signed.
	---
	 parse.y                 | 10 +++++-----
	 test/ruby/test_parse.rb |  2 ++
	 2 files changed, 7 insertions(+), 5 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 1bc8838d60ef3fc6812d3b64ed87caaf0ae943d9: [Backport #19750]</title>
<updated>2023-07-17T09:04:41+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-07-17T09:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3f6187a94797d3c4a7db00563a885e4e613b51cf'/>
<id>3f6187a94797d3c4a7db00563a885e4e613b51cf</id>
<content type='text'>
	Handle unterminated unicode escapes in regexps

	This fixes an infinite loop possible after ec3542229b29ec93062e9d90e877ea29d3c19472.
	For \u{} escapes in regexps, skip validation in the parser, and rely on the regexp
	code to handle validation. This is necessary so that invalid unicode escapes in
	comments in extended regexps are allowed.

	Fixes [Bug #19750]

	Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
	---
	 parse.y                 | 97 ++++++++++++++++++++++++++++++++-----------------
	 test/ruby/test_parse.rb | 16 ++++++++
	 2 files changed, 79 insertions(+), 34 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Handle unterminated unicode escapes in regexps

	This fixes an infinite loop possible after ec3542229b29ec93062e9d90e877ea29d3c19472.
	For \u{} escapes in regexps, skip validation in the parser, and rely on the regexp
	code to handle validation. This is necessary so that invalid unicode escapes in
	comments in extended regexps are allowed.

	Fixes [Bug #19750]

	Co-authored-by: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
	---
	 parse.y                 | 97 ++++++++++++++++++++++++++++++++-----------------
	 test/ruby/test_parse.rb | 16 ++++++++
	 2 files changed, 79 insertions(+), 34 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #18890] Suppress warnings and fix the message</title>
<updated>2022-07-08T02:31:51+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-07-08T02:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a2662ae8b9f64346af82551fdd6756e7497e2f1'/>
<id>4a2662ae8b9f64346af82551fdd6756e7497e2f1</id>
<content type='text'>
```
test/ruby/test_parse.rb:1384: warning: assigned but unused variable - obj
test/ruby/test_pattern_matching.rb:1162: warning: unused literal ignored
test/ruby/test_pattern_matching.rb:1165: warning: unused literal ignored
test/ruby/test_pattern_matching.rb:1161: warning: assigned but unused variable - a
test/ruby/test_pattern_matching.rb:1164: warning: assigned but unused variable - b
```

And a newline should be significant here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
test/ruby/test_parse.rb:1384: warning: assigned but unused variable - obj
test/ruby/test_pattern_matching.rb:1162: warning: unused literal ignored
test/ruby/test_pattern_matching.rb:1165: warning: unused literal ignored
test/ruby/test_pattern_matching.rb:1161: warning: assigned but unused variable - a
test/ruby/test_pattern_matching.rb:1164: warning: assigned but unused variable - b
```

And a newline should be significant here.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #18890] newline should be insignificant after pattern label</title>
<updated>2022-07-05T23:32:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-07-03T05:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eaeb130b11fefe91aaf61f294ea32af76dada74f'/>
<id>eaeb130b11fefe91aaf61f294ea32af76dada74f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #18877] Let `lex_ctxt` not to eat escaped whitespace</title>
<updated>2022-06-30T07:31:51+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-06-26T09:39:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=982cda9a3e908c7ab49632c46f4b1e3c0219f9f2'/>
<id>982cda9a3e908c7ab49632c46f4b1e3c0219f9f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #18884] `class` cannot be just followed by modifiers</title>
<updated>2022-06-29T05:13:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-06-29T05:13:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=685efac05983dee44ce2d96c24f2fcb96a0aebe2'/>
<id>685efac05983dee44ce2d96c24f2fcb96a0aebe2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Private local variables should shadow outer variables [Bug #18629]</title>
<updated>2022-04-21T07:04:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-04-21T07:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3ddf6ad4d2f6dae4caa00b8c407768c7062099a0'/>
<id>3ddf6ad4d2f6dae4caa00b8c407768c7062099a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Anonymous block forwarding allows a method to forward a passed</title>
<updated>2021-11-18T22:17:57+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-11-18T20:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4adb012926f8bd6011168327d8832cf19976de40'/>
<id>4adb012926f8bd6011168327d8832cf19976de40</id>
<content type='text'>
block to another method without having to provide a name for the
block parameter.

Implements [Feature #11256]

Co-authored-by: Yusuke Endoh mame@ruby-lang.org
Co-authored-by: Nobuyoshi Nakada nobu@ruby-lang.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
block to another method without having to provide a name for the
block parameter.

Implements [Feature #11256]

Co-authored-by: Yusuke Endoh mame@ruby-lang.org
Co-authored-by: Nobuyoshi Nakada nobu@ruby-lang.org
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate value checks on `mrhs` which always has the value</title>
<updated>2021-10-07T15:11:22+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-10-07T15:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8057129da61e7fc920b0cd1cb09105125819c10f'/>
<id>8057129da61e7fc920b0cd1cb09105125819c10f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
