Project

General

Profile

« Previous | Next » 

Revision b118f5d8

Added by nagachika (Tomoyuki Chikanaga) about 9 years ago

merge revision(s) 53834,53835,53836: [Backport #12073]

    parse.y: simplify local ID condition

    * parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()

can be a local id only when called from parse_ident(), but never
from parse_gvar() and parse_atmark().
* parse.y (parse_ident): allow keyword arguments just after a
method where the same name local variable is defined.
[ruby-core:73816] [Bug#12073]

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