From 3b832e90a2764e5e143b25e9e5473796b5a790af Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 19 Oct 2004 13:46:05 +0000 Subject: RDoc can now deal with "attr" used as a variable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/parsers/parse_rb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc') diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index e862cc71e1..5a98258f7e 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -2459,7 +2459,7 @@ module RDoc context.add_attribute(att) end else - error("Missing argument to 'attr'") + warn("'attr' ignored - looks like a variable") end end -- cgit v1.2.3