[Ripper] on_magic_comment doesn't pass proper value
$ ruby -v -rripper -e 'r = Ripper.new("# -- foo: bar --"); def r.on_magic_comment(*x);p x;end;r.parse'
Should be ((%["foo", "bar"]%)).
Affects also 1.9.
#1 Updated by Nobuyoshi Nakada over 3 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 (parser_magic_comment): should pass the proper value. [Bug #5753]
#4 Updated by Usaku NAKAMURA almost 2 years ago
- Status changed from Assigned to Closed