summaryrefslogtreecommitdiff
path: root/include/ruby/assert.h
diff options
context:
space:
mode:
authorMartin Emde <martin.emde@gmail.com>2023-11-30 19:53:54 -0800
committergit <svn-admin@ruby-lang.org>2023-12-01 15:17:20 +0000
commitcbe57caa246f57440667a53b4526ddabcea82df9 (patch)
tree12c1255647a4b7092c2cc80c6fc8399c7f7b019b /include/ruby/assert.h
parentffeec108cfccda71ff63167d41f090aa39c2432c (diff)
[ruby/prism] Fix comments after HEREDOCs again.
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
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions