Project

General

Profile

Bug #4511

Ripper#end_seen? の戻り値に関するコメント

Added by Sho Hashimoto about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
ruby 1.9.3dev (2011-03-19 trunk 31128) [x86_64-linux]
[ruby-dev:<unknown>]

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

parse.y.patch Magnifier (411 Bytes) Sho Hashimoto, 03/19/2011 02:03 PM

Associated revisions

Revision 32239
Added by Yui NARUSE almost 5 years ago

  • parse.y (rb_parser_end_seen_p): fix documentation about return value. patched by Sho Hashimoto. [Bug #4511]

Revision 32239
Added by Yui NARUSE almost 5 years ago

  • parse.y (rb_parser_end_seen_p): fix documentation about return value. patched by Sho Hashimoto. [Bug #4511]

Revision 32239
Added by Yui NARUSE almost 5 years ago

  • parse.y (rb_parser_end_seen_p): fix documentation about return value. patched by Sho Hashimoto. [Bug #4511]

History

#1 [ruby-dev:43933] Updated by Yui NARUSE almost 5 years ago

  • Status changed from Open to Assigned
  • Assignee set to Yui NARUSE

#2 Updated by Yui NARUSE almost 5 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]

Also available in: Atom PDF