diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-12 04:53:36 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-12 04:53:36 +0000 |
| commit | 49afb7c7b164a1ecc1bbc1aa7668e6b2faca68ed (patch) | |
| tree | 4d17e3f2cabbe9f4ea2bee8f523de11ce30f6a39 /parse.y | |
| parent | 52d12453a9941ff91fbcaf1b02914efcb5a7621b (diff) | |
| download | ruby-49afb7c7b164a1ecc1bbc1aa7668e6b2faca68ed.tar.gz ruby-49afb7c7b164a1ecc1bbc1aa7668e6b2faca68ed.tar.xz ruby-49afb7c7b164a1ecc1bbc1aa7668e6b2faca68ed.zip | |
19991012
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4420,11 +4420,11 @@ rb_intern(name) strncpy(buf, name, last); buf[last] = '\0'; id = rb_intern(buf); - if (id > LAST_TOKEN) { + if (id > LAST_TOKEN && !is_attrset_id(id)) { id = rb_id_attrset(id); goto id_regist; } - id |= ID_ATTRSET; + id = ID_ATTRSET; } else if (ISUPPER(name[0])) { id = ID_CONST; |
