Project

General

Profile

« Previous | Next » 

Revision 91bd6e71

Added by tenderlove over 11 years ago

  • parse.y: added symbols and qsymbols productions for %i and %I
    support. %i{ .. } returns a list of symbols without interpolation,
    %I{ .. } returns a list of symbols with interpolation. Thanks to
    Josh Susser for inspiration of this feature. [Feature #4985]

  • ext/ripper/eventids2.c: added ripper events for %i and %I.

  • test/ripper/test_parser_events.rb: ripper tests

  • test/ripper/test_scanner_events.rb: ditto

  • test/ruby/test_array.rb: test for %i and %I behavior

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