mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix up cross-file class merging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b22110e517
commit
61503bbf3b
3 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Sep 11 16:09:46 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_rb.rb: Fix up cross-file class merging.
|
||||
|
||||
Fri Sep 10 20:18:05 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
|
||||
|
|
|
@ -477,6 +477,12 @@ module RDoc
|
|||
nil
|
||||
end
|
||||
|
||||
# Find a named module
|
||||
def find_module_named(name)
|
||||
find_class_or_module_named(name) || find_enclosing_module_named(name)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
# ClassModule is the base class for objects representing either a
|
||||
|
|
|
@ -1760,7 +1760,7 @@ module RDoc
|
|||
else
|
||||
cls_type = NormalClass
|
||||
end
|
||||
|
||||
|
||||
cls = container.add_class(cls_type, name, superclass)
|
||||
read_documentation_modifiers(cls, CLASS_MODIFIERS)
|
||||
cls.record_location(@top_level)
|
||||
|
|
Loading…
Reference in a new issue