diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rdoc/parser/ruby.rb | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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] diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb index c27d5fa0fd..bfb118c416 100644 --- a/lib/rdoc/parser/ruby.rb +++ b/lib/rdoc/parser/ruby.rb @@ -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 |