Project

General

Profile

« Previous | Next » 

Revision c884cbd8

Added by U.Nakamura over 8 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e