[ruby-cvs:65690] usa:r58518 (ruby_2_3): merge revision(s) 58080, 58138: [Backport #13363]

usa at ruby-lang.org usa at ruby-lang.org
Sun Apr 30 22:59:21 JST 2017


usa	2017-04-30 22:59:21 +0900 (Sun, 30 Apr 2017)

  New Revision: 58518

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

  Log:
    merge revision(s) 58080,58138: [Backport #13363]
    
    keep line number after unterminated string literal
    
    * parse.y (parser_parse_string): keep line number even after an
      unterminated string literal.  it does not matter in the parser,
      ripper needs this value after this error.
    parse.y: unterminated content token
    
    * parse.y (parser_parse_string): defer the end token to next
      reading, to yield tSTRING_CONTENT with the unterminated content.
      [Bug #13363]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/parse.y
    branches/ruby_2_3/test/ripper/test_scanner_events.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list