summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-19 13:46:05 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-19 13:46:05 +0000
commita4ee51f7b995f85997bf68b83362a98e516e142b (patch)
tree11aed73c8e543ef38d07b98734b7ee8f21112dd8 /lib/rdoc/parsers
parent7bfc8eb5a9d1ceeccbd07d9f61286a71f2c402f3 (diff)
downloadruby-a4ee51f7b995f85997bf68b83362a98e516e142b.tar.gz
ruby-a4ee51f7b995f85997bf68b83362a98e516e142b.tar.xz
ruby-a4ee51f7b995f85997bf68b83362a98e516e142b.zip
RDoc can now deal with "attr" used as a variable
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers')
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index e862cc71e..5a98258f7 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