1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't

include assignment.  [Bug #3759], [ruby-dev:42154]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-08-29 14:54:16 +00:00
parent ccf4fbf78d
commit f4b2d14572
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,7 @@
Sun Aug 29 23:46:54 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sun Aug 29 23:54:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
include assignment. [Bug #3759], [ruby-dev:42154]
* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
name signleton class. [Bug #3759], [ruby-dev:42154]

View file

@ -526,7 +526,7 @@ class RDoc::Parser::Ruby < RDoc::Parser
else
break unless @scanner.continue
end
when TkCOMMENT
when TkCOMMENT, TkASSIGN, TkOPASGN
unget_tk(tk)
break
when nil then