mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
05a43e2367
commit
d43b40dbdd
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Oct 19 22:43:12 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_attr): If
|
||||
we come across 'attr' in a context where it isn't
|
||||
followed by a symbol, just issue a warning.
|
||||
|
||||
Tue Oct 19 20:32:50 2004 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole.c(ole_invoke): retrieve the result value when
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue