diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 16:18:02 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-06 16:18:02 +0000 |
commit | b3a729a1073d8f3fcff9ccd8e6f23b3fbafeff65 (patch) | |
tree | eb38e00d5e38258b782380f2fbe18fad259b3aac /parse.y | |
parent | 40fce3e7ee6b9c381e00197642566fdceeb82d7f (diff) |
* parse.y (assignable): call rb_compile_error(), not rb_bug().
[ruby-core:01523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4856,7 +4856,7 @@ assignable(id, val) return NEW_CVDECL(id, val); } else { - rb_bug("bad id for variable"); + rb_compile_error("identifier %s is not valid", rb_id2name(id)); } return 0; } |