зеркало из https://github.com/github/ruby.git
Fix bug where parent class wasn't being detected if the
child class was defined using the A::B notation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d9bde4fcbe
Коммит
37abc5eaa3
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Nov 8 22:20:19 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
|
* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class):
|
||||||
|
Fix bug where parent class wasn't being detected if the
|
||||||
|
child class was defined using the A::B notation.
|
||||||
|
|
||||||
Mon Nov 8 00:14:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
Mon Nov 8 00:14:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in: add setup for mignw32 cross compiling.
|
* configure.in: add setup for mignw32 cross compiling.
|
||||||
|
|
|
@ -1747,7 +1747,7 @@ module RDoc
|
||||||
when TkCONSTANT
|
when TkCONSTANT
|
||||||
name = name_t.name
|
name = name_t.name
|
||||||
superclass = "Object"
|
superclass = "Object"
|
||||||
|
|
||||||
if peek_tk.kind_of?(TkLT)
|
if peek_tk.kind_of?(TkLT)
|
||||||
get_tk
|
get_tk
|
||||||
skip_tkspace(true)
|
skip_tkspace(true)
|
||||||
|
@ -1826,6 +1826,7 @@ module RDoc
|
||||||
get_tk
|
get_tk
|
||||||
name_t = get_tk
|
name_t = get_tk
|
||||||
end
|
end
|
||||||
|
skip_tkspace(false)
|
||||||
return [container, name_t]
|
return [container, name_t]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче