Bug #1939: Ripper doesn't handle local variables
http://redmine.ruby-lang.org/issues/show/1939

Author: Magnus Holm
Status: Open, Priority: Normal
Assigned to: Minero Aoki, Category: ext
ruby -v: ruby 1.9.1p281 (2009-08-09 revision 24476) [i386-darwin9.8.0]

Ruby handles some code different when it encounters a local variable:

    whatever /25 # /

If whatever is a local variable it would be interpreted as "whatever / 25",
if not, "whatever(/25 # /)". Since Ripper doesn't handle local variables, it
will *always* interpreter it as the last. This makes Ripper pretty much useless
because it can't guarantee to parse it equally to Ruby.


----------------------------------------
http://redmine.ruby-lang.org