| Age | Commit message (Collapse) | Author |
|
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
|
|
Fixes https://github.com/ruby/prism/pull/1874
https://github.com/ruby/prism/commit/304dd78dd2
|
|
https://github.com/ruby/prism/commit/42b60b6e95
|
|
https://github.com/ruby/prism/commit/f0aa8ad93b
|
|
https://github.com/ruby/prism/commit/8582d372a3
|
|
https://github.com/ruby/prism/commit/ca9a660f52
|
|
Prefer String#[] directly.
https://github.com/ruby/prism/commit/916f991220
|
|
https://github.com/ruby/prism/commit/41c0e0e06e
|
|
https://github.com/ruby/prism/commit/c7ef25a79a
|
|
Move common ``results << token`` outside case-when.
https://github.com/ruby/prism/commit/84d0722ee9
|
|
https://github.com/ruby/prism/commit/11255f636e
|
|
|
|
|