diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-02 02:59:17 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-02 02:59:17 +0000 |
commit | 47427428802ebfdcc077145b4efae2a3f38572bf (patch) | |
tree | 0a085b06384fb0af81c8cec53b1751107fe4dc39 /lib/rdoc/code_objects.rb | |
parent | 493a7a3b63f682b9bbaa455651e1a570ef919b0f (diff) | |
download | ruby-47427428802ebfdcc077145b4efae2a3f38572bf.tar.gz |
Bugfix: looping on some toplevel symbols. Added SWIG support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/code_objects.rb')
-rw-r--r-- | lib/rdoc/code_objects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb index 9bacab8f6d..82872db14d 100644 --- a/lib/rdoc/code_objects.rb +++ b/lib/rdoc/code_objects.rb @@ -325,7 +325,7 @@ module RDoc result = nil case symbol when /^::(.*)/ - result = toplevel.find_symbol(symbol) + result = toplevel.find_symbol($1) when /::/ modules = symbol.split(/::/) unless modules.empty? |