mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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/branches/ruby_1_8@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d452a0ce16
commit
a7b4316a3a
2 changed files with 8 additions and 1 deletions
|
@ -1747,7 +1747,7 @@ module RDoc
|
|||
when TkCONSTANT
|
||||
name = name_t.name
|
||||
superclass = "Object"
|
||||
|
||||
|
||||
if peek_tk.kind_of?(TkLT)
|
||||
get_tk
|
||||
skip_tkspace(true)
|
||||
|
@ -1826,6 +1826,7 @@ module RDoc
|
|||
get_tk
|
||||
name_t = get_tk
|
||||
end
|
||||
skip_tkspace(false)
|
||||
return [container, name_t]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue