diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-10-02 19:08:54 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-10-02 20:43:40 +0900 |
commit | 3e1021b1448a5820d387795e065ae25b9da5abdf (patch) | |
tree | cc6aa2d9241c7fb18531add8f859a8b01e43da28 /load.c | |
parent | 4e219d8f7d3e76cf60e747dc16deb3452f297442 (diff) |
Make default parser enum and define getter/setter
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11761
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -743,7 +743,7 @@ load_iseq_eval(rb_execution_context_t *ec, VALUE fname) rb_thread_t *th = rb_ec_thread_ptr(ec); VALUE realpath_map = get_loaded_features_realpath_map(th->vm); - if (*rb_ruby_prism_ptr()) { + if (rb_ruby_prism_p()) { pm_parse_result_t result = { 0 }; result.options.line = 1; result.node.coverage_enabled = 1; |