[ruby-cvs:68073] nobu:r60892 (trunk): parse.y: refactor list literals

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Nov 24 13:26:35 JST 2017


nobu	2017-11-24 13:26:27 +0900 (Fri, 24 Nov 2017)

  New Revision: 60892

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

  Log:
    parse.y: refactor list literals
    
    * parse.y (words, symbols, qwords, qsymbols): unify empty list and
      non-empty list.
    
    * parse.y (parser_parse_string): always dispatch a word separator
      at the beginning of list literals.
      [ruby-core:83871] [Bug #14126]

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


More information about the ruby-cvs mailing list