[ruby-cvs:66425] nagachika:r59247 (ruby_2_4): merge revision(s) 58545, 58584: [Backport #13536]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Jul 1 20:51:14 JST 2017


nagachika	2017-07-01 20:51:13 +0900 (Sat, 01 Jul 2017)

  New Revision: 59247

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59247

  Log:
    merge revision(s) 58545,58584: [Backport #13536]
    
    ripper/lexer.rb: nested indented heredoc
    
    * ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): fix for
      nested indedented here documents, where `Elem`s are nested too.
      [ruby-core:80977] [Bug #13536]
    ripper/lexer.rb: nested indented heredoc
    
    * ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): insert
      stripped leading spaces as `on_ignored_sp` elements, so that the
      original source can be reconsructed.
      [ruby-core:80977] [Bug #13536]

  Added files:
    branches/ruby_2_4/test/ripper/test_lexer.rb
  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/ext/ripper/lib/ripper/lexer.rb
    branches/ruby_2_4/test/ripper/test_scanner_events.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list