diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-29 13:56:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-29 13:56:33 +0000 |
commit | 771c8ed338ac77d3f75acf44cd711f80c80cbe71 (patch) | |
tree | 3849c4cb7589d00a49ccbe4e6d36e77e3390ed26 /marshal.c | |
parent | 3dab183c8276c6d53c9ac4404967b18f4c10d166 (diff) | |
download | ruby-771c8ed338ac77d3f75acf44cd711f80c80cbe71.tar.gz |
parse.y: fix inconsistency with literals
* parse.y (rb_id_attrset): fix inconsistency with literals, allow
ID_ATTRSET and return it itself, but ID_JUNK cannot make ID_ATTRSET.
and raise a NameError instead of rb_bug() for invalid argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
0 files changed, 0 insertions, 0 deletions