1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ripper
tenderlove 91bd6e711d * 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
2012-07-24 18:10:35 +00:00
..
dummyparser.rb * vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments, iseq_compile_each), vm_insnhelper.c (vm_callee_setup_arg_complex): implement keyword arguments. See [ruby-core:40290] The feature is promised to be included in 2.0, but the detail spec is still under discussion; this commit is a springboard for further discussion. Please try it and give us feedback. This commit includes fixes for some problems reported by Benoit Daloze <eregontp AT gmail.com> [ruby-core:40518] and Marc-Andre Lafortune <ruby-core-mailing-list AT marc-andre.ca> [ruby-core:41772]. 2011-12-26 14:20:09 +00:00
test_files.rb suppress fragile warnings. 2012-07-19 12:14:30 +00:00
test_filter.rb * test/ripper/test_parser_events.rb: more tests. 2009-12-08 01:01:04 +00:00
test_parser_events.rb * parse.y: added symbols and qsymbols productions for %i and %I 2012-07-24 18:10:35 +00:00
test_ripper.rb * parse.y (parser_data_type): inherit the core type in ripper so 2011-09-17 14:34:13 +00:00
test_scanner_events.rb * parse.y: added symbols and qsymbols productions for %i and %I 2012-07-24 18:10:35 +00:00