summaryrefslogtreecommitdiff
path: root/lib/rdoc/parsers/parse_rb.rb
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
commitd43b40dbddde5d5bdb9efbf63978507d4f08d762 (patch)
tree11aed73c8e543ef38d07b98734b7ee8f21112dd8 /lib/rdoc/parsers/parse_rb.rb
parent05a43e2367ca8961e733d5434b474da14126d68b (diff)
RDoc can now deal with "attr" used as a variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers/parse_rb.rb')
-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 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