summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-10-02 19:08:54 +0900
committerNobuyoshi Nakada <[email protected]>2024-10-02 20:43:40 +0900
commit3e1021b1448a5820d387795e065ae25b9da5abdf (patch)
treecc6aa2d9241c7fb18531add8f859a8b01e43da28 /load.c
parent4e219d8f7d3e76cf60e747dc16deb3452f297442 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index c6fb43e9e8..c1862c38fa 100644
--- a/load.c
+++ b/load.c
@@ -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;