[ruby-cvs:78229] c257303ae7 (master): Deprecate rb_eval_cmd, add rb_eval_cmd_kw
"Jeremy Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Jeremy Evans 2019-09-26 07:49:21 +0900 (Thu, 26 Sep 2019)
New Revision: c257303ae7
https://github.com/ruby/ruby/commit/c257303ae7
Log:
Deprecate rb_eval_cmd, add rb_eval_cmd_kw
rb_eval_cmd takes a safe level, and now that $SAFE is deprecated,
it should be deprecated as well.
Replace with rb_eval_cmd_kw, which takes a keyword flag. Switch
the two callers to this function.
Modified files:
include/ruby/intern.h
signal.c
variable.c
vm_eval.c