Actions
Bug #4511
closedRipper#end_seen? の戻り値に関するコメント
ruby -v:
ruby 1.9.3dev (2011-03-19 trunk 31128) [x86_64-linux]
Backport:
Description
=begin
Ripper#end_seen? は true か false しか返さないと思うので、コメントが間違っている気がします。例えば、以下のような修正になるのではないではないかと思います。
-
- Return if parsed source ended by +__END__+.
-
- This number starts from 1.
-
- Return true if parsed source ended by +__END__+.
パッチも添付しておきますので、問題ないようでしたら、取り込んでやってください。
=end
Files
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Assigned
- Assignee set to naruse (Yui NARUSE)
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32239.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- parse.y (rb_parser_end_seen_p): fix documentation about return
value. patched by Sho Hashimoto. [Bug #4511]
Actions
Like0
Like0Like0