[ruby-cvs:68064] nobu:r60883 (trunk): ripper.y: fix word list events

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Nov 23 13:30:23 JST 2017


nobu	2017-11-23 13:30:23 +0900 (Thu, 23 Nov 2017)

  New Revision: 60883

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

  Log:
    ripper.y: fix word list events
    
    * parse.y (parser_skip_words_sep): QWORDS_BEG should not include
      the first separators in ripper.
    
    * parse.y (parser_parse_string): WORDS_SEP should not include
      the closing parentheses of a word list in ripper, should include
      spaces at beginning of lines.  [ruby-core:83864] [Bug #14126]

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


More information about the ruby-cvs mailing list