diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-02 11:37:44 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-02 11:37:44 +0000 |
| commit | f14d6f88b279bc561f76c40e5865b472b6ad9c23 (patch) | |
| tree | 38f9e43771b03701117f13813eb81c419b216e79 /test/ruby | |
| parent | 82673ffc9019e9e55697703cf5fd110e3266170c (diff) | |
| download | ruby-f14d6f88b279bc561f76c40e5865b472b6ad9c23.tar.gz ruby-f14d6f88b279bc561f76c40e5865b472b6ad9c23.tar.xz ruby-f14d6f88b279bc561f76c40e5865b472b6ad9c23.zip | |
* parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID by
NODE to track local variable assignment.
* parse.y (lvar_defined_gen, assignable_gen): enable local
variable check. [ruby-core:24923]
* parse.y (validate): use value only.
* test/ripper/test_parser_events.rb (test_local_variables): tests
based on a patch from Magnus Holm in [ruby-core:25885].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
