1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-04-02 01:20:58 +00:00
parent 64ec09d456
commit ef38efca9f
5 changed files with 66 additions and 26 deletions

View file

@ -404,6 +404,15 @@ module RDoc
@@all_classes = {}
@@all_modules = {}
def comment=(t)
if @c
fail t
else
@c = true
end
super
end
def TopLevel::reset
@@all_classes = {}
@@all_modules = {}