mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Make default parser enum and define getter/setter
This commit is contained in:
parent
4e219d8f7d
commit
3e1021b144
Notes:
git
2024-10-02 11:43:59 +00:00
10 changed files with 35 additions and 23 deletions
|
@ -1787,7 +1787,7 @@ static const rb_iseq_t *
|
|||
eval_make_iseq(VALUE src, VALUE fname, int line,
|
||||
const struct rb_block *base_block)
|
||||
{
|
||||
if (*rb_ruby_prism_ptr()) {
|
||||
if (rb_ruby_prism_p()) {
|
||||
return pm_eval_make_iseq(src, fname, line, base_block);
|
||||
}
|
||||
const VALUE parser = rb_parser_new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue