mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[PRISM] Pass --enable-frozen-string-literal through to evals
This commit is contained in:
parent
a1ae29e87d
commit
42d1cd8f7f
6 changed files with 28 additions and 26 deletions
2
ruby.c
2
ruby.c
|
@ -2116,8 +2116,6 @@ prism_script(ruby_cmdline_options_t *opt, pm_parse_result_t *result)
|
|||
pm_options_t *options = &result->options;
|
||||
pm_options_line_set(options, 1);
|
||||
|
||||
pm_options_frozen_string_literal_init(result, rb_iseq_opt_frozen_string_literal());
|
||||
|
||||
if (opt->ext.enc.name != 0) {
|
||||
pm_options_encoding_set(options, StringValueCStr(opt->ext.enc.name));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue