[ruby-cvs:69878] nobu:r62724 (trunk): parse.y: fix interpolated string literal dedent

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Mar 11 21:19:09 JST 2018


nobu	2018-03-11 21:19:08 +0900 (Sun, 11 Mar 2018)

  New Revision: 62724

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

  Log:
    parse.y: fix interpolated string literal dedent
    
    * parse.y (heredoc_dedent): fix interpolated string literal dedent,
      remove indentations from only nodes with the newline flag.
      [ruby-core:85983] [Bug #14584]
    
    * parse.y (here_document): set the newline flag on literal string
      nodes starting at the beginning of line.

  Modified files:
    trunk/parse.y
    trunk/test/ruby/test_syntax.rb


More information about the ruby-cvs mailing list