[ruby-cvs:65251] nobu:r58080 (trunk): keep line number after unterminated string literal

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Mar 25 10:07:35 JST 2017


nobu	2017-03-25 10:07:35 +0900 (Sat, 25 Mar 2017)

  New Revision: 58080

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

  Log:
    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.

  Modified files:
    trunk/parse.y
    trunk/test/ripper/test_scanner_events.rb


More information about the ruby-cvs mailing list