[Ripper] on_magic_comment doesn't pass proper value
$ ruby -v -rripper -e 'r = Ripper.new("# -- foo: bar --"); def r.onmagiccomment(*x);p x;end;r.parse'
Should be ((%["foo", "bar"]%)).
Affects also 1.9.
#1 Updated by Nobuyoshi Nakada over 2 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r34022.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- parse.y (parsermagiccomment): should pass the proper value. [Bug #5753]
#4 Updated by Usaku NAKAMURA about 1 year ago
- Status changed from Assigned to Closed