mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
40fce3e7ee
commit
b3a729a107
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Sep 6 18:45:46 2003 Mauricio Fernandez <batsman.geo@yahoo.com>
|
||||
|
||||
* parse.y (assignable): call rb_compile_error(), not rb_bug().
|
||||
[ruby-core:01523]
|
||||
|
||||
Sat Sep 6 17:40:41 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* ext/openssl/ruby_missing.c: rid of unnecessary backward
|
||||
|
|
2
parse.y
2
parse.y
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue