* struct.c (make_struct): allow const_id for accessor names.

[ruby-core:04585]

* eval.c (rb_attr): check if attribute name is local_id or
  const_id.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-05-11 01:11:52 +00:00
parent 7efdc82d2e
commit 1843d8abbc
6 changed files with 18 additions and 7 deletions

View file

@ -2471,7 +2471,7 @@ VALUE ruby_top_self;
* Creating a new Name
*
* Classes, modules, and objects are interrelated. In the diagram
* that follows, the arrows represent inheritance, and the
* that follows, the vertical arrows represent inheritance, and the
* parentheses meta-classes. All metaclasses are instances
* of the class `Class'.
*