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
nobu 2afb729f57 parse.y: fix var_field
* parse.y (mlhs_node): dispatch var_field as well as lhs.

* parse.y (lhs, var_hs): dispatch var_field before assignable
  check so it is inside assign_error at a wrong assignment, as
  well as backref_assign_error.

* parse.y (var_field_gen): wrap var_field value with the variable
  ID.

* parse.y (assignable_gen, const_decl_gen): return the callback
  result on a syntax error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-04 06:47:29 +00:00
..
dummyparser.rb ripper: add kwrest_param parser event 2017-07-21 04:29:46 +00:00
test_files.rb {ext,test}/ripper: Specify frozen_string_literal: true. 2017-02-05 07:54:32 +00:00
test_filter.rb ripper: add states of scanner 2017-09-14 10:53:47 +00:00
test_lexer.rb test_lexer.rb: require ripper directly 2017-07-15 07:24:12 +00:00
test_parser_events.rb parse.y: fix var_field 2017-10-04 06:47:29 +00:00
test_ripper.rb ripper: add states of scanner 2017-09-14 10:53:47 +00:00
test_scanner_events.rb ripper: add states of scanner 2017-09-14 10:53:47 +00:00
test_sexp.rb test_sexp.rb: test for fname 2017-10-04 05:30:44 +00:00