<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/prism/lex_compat.rb, branch v3_3_11</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] Fix comments after HEREDOCs again.</title>
<updated>2023-12-01T15:17:20+00:00</updated>
<author>
<name>Martin Emde</name>
<email>martin.emde@gmail.com</email>
</author>
<published>2023-12-01T03:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cbe57caa246f57440667a53b4526ddabcea82df9'/>
<id>cbe57caa246f57440667a53b4526ddabcea82df9</id>
<content type='text'>
The problem was deeper than just looking back a single token.
You can push the heredoc_end token way back into the list.
We need to save the last location of a heredoc end to see if
it's the last token in the file.

Fixes https://github.com/ruby/prism/pull/1954

https://github.com/ruby/prism/commit/91dfd4eecd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was deeper than just looking back a single token.
You can push the heredoc_end token way back into the list.
We need to save the last location of a heredoc end to see if
it's the last token in the file.

Fixes https://github.com/ruby/prism/pull/1954

https://github.com/ruby/prism/commit/91dfd4eecd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix lex_compat for `&lt;&lt;HEREDOC # comment` at EOF</title>
<updated>2023-11-30T14:10:04+00:00</updated>
<author>
<name>Martin Emde</name>
<email>martin.emde@gmail.com</email>
</author>
<published>2023-11-30T04:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aac8be803409a18f6c32b438d154432eeb6f49e8'/>
<id>aac8be803409a18f6c32b438d154432eeb6f49e8</id>
<content type='text'>
Fixes https://github.com/ruby/prism/pull/1874

https://github.com/ruby/prism/commit/304dd78dd2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/ruby/prism/pull/1874

https://github.com/ruby/prism/commit/304dd78dd2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Move DATA parsing into its own parse result field</title>
<updated>2023-11-28T13:25:48+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-27T19:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c798943a4a272f213d21295a837da06ed5fa9a51'/>
<id>c798943a4a272f213d21295a837da06ed5fa9a51</id>
<content type='text'>
https://github.com/ruby/prism/commit/42b60b6e95
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/42b60b6e95
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Wire up options through the FFI API</title>
<updated>2023-11-03T14:13:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T18:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=05f5c545d232554b6ffb183d6948ad37f46df53b'/>
<id>05f5c545d232554b6ffb183d6948ad37f46df53b</id>
<content type='text'>
https://github.com/ruby/prism/commit/f0aa8ad93b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f0aa8ad93b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Wire up options through the Ruby API</title>
<updated>2023-11-03T14:13:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T16:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca7297efd389eca792c706326d1af138acf5a4f6'/>
<id>ca7297efd389eca792c706326d1af138acf5a4f6</id>
<content type='text'>
https://github.com/ruby/prism/commit/8582d372a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/8582d372a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] More Ruby docs</title>
<updated>2023-11-01T17:10:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-30T18:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=79034fbd503769ed2742003e31920733e9300909'/>
<id>79034fbd503769ed2742003e31920733e9300909</id>
<content type='text'>
https://github.com/ruby/prism/commit/ca9a660f52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/ca9a660f52
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Avoid String#chars in DedentingHeredoc#to_a</title>
<updated>2023-10-23T14:56:18+00:00</updated>
<author>
<name>Mau Magnaguagno</name>
<email>maumagnaguagno@gmail.com</email>
</author>
<published>2023-10-21T06:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f20e91fbf70a28b54bf4bf0f8bb5783572f8dd70'/>
<id>f20e91fbf70a28b54bf4bf0f8bb5783572f8dd70</id>
<content type='text'>
Prefer String#[] directly.

https://github.com/ruby/prism/commit/916f991220
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prefer String#[] directly.

https://github.com/ruby/prism/commit/916f991220
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix lex compat when dedent should be 0</title>
<updated>2023-10-18T16:09:16+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-17T15:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8210cc4218b639b699c73ac273b62422d5718e10'/>
<id>8210cc4218b639b699c73ac273b62422d5718e10</id>
<content type='text'>
https://github.com/ruby/prism/commit/41c0e0e06e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/41c0e0e06e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Attach magic comments to the parse result</title>
<updated>2023-10-16T22:40:19+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-10-13T16:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5523a23469987f92e38d52d4332bde09bdd8896c'/>
<id>5523a23469987f92e38d52d4332bde09bdd8896c</id>
<content type='text'>
https://github.com/ruby/prism/commit/c7ef25a79a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/c7ef25a79a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Simplify DedentingHeredoc#to_a</title>
<updated>2023-10-13T21:11:07+00:00</updated>
<author>
<name>Mau Magnaguagno</name>
<email>maumagnaguagno@gmail.com</email>
</author>
<published>2023-10-13T19:52:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f6564fdd37ae313b5e17b7acffef77fcf2b0e9f3'/>
<id>f6564fdd37ae313b5e17b7acffef77fcf2b0e9f3</id>
<content type='text'>
Move common ``results &lt;&lt; token`` outside case-when.

https://github.com/ruby/prism/commit/84d0722ee9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move common ``results &lt;&lt; token`` outside case-when.

https://github.com/ruby/prism/commit/84d0722ee9
</pre>
</div>
</content>
</entry>
</feed>
