diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-24 18:10:35 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-24 18:10:35 +0000 |
commit | 91bd6e711db3418baa287e936d4b0fac99927711 (patch) | |
tree | 4a605159d1d3f8327ee5775ede377c35d2867723 /NEWS | |
parent | 1a5773a8682e685c87652f02df167f697f9413f9 (diff) |
* 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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -169,6 +169,9 @@ with all sufficient information, see the ChangeLog file. long. === Language changes + + * Added %i and %I for symbol list creation (similar to %w and %W). + === Compatibility issues (excluding feature bug fixes) * Signal.trap |