aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-10-24 16:54:44 -0300
committerJemma Issroff <jemmaissroff@gmail.com>2023-10-25 18:18:35 -0300
commit0abf2d86b963089a52af9ee221d1b7da7ba9b2ee (patch)
tree4cd1cc4be8b1039d678c29051d5ea5d81c4b1217 /iseq.c
parentf87c31f3e061fc1ac6435a7f32be18e39d6abc06 (diff)
downloadruby-0abf2d86b963089a52af9ee221d1b7da7ba9b2ee.tar.gz
[PRISM] Move pm_scope_node_init to prism_compile.c
pm_scope_node_init is only used for CRuby, so should not live in the ruby/prism repo. We will merge the changes here first so they're not breaking, and will then remove from ruby/prism
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index 10cddcf57a..933e5c99d4 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1391,6 +1391,8 @@ iseqw_s_compile(int argc, VALUE *argv, VALUE self)
return iseqw_new(rb_iseq_compile_with_option(src, file, path, line, opt));
}
+void pm_scope_node_init(const pm_node_t *node, pm_scope_node_t *scope, pm_scope_node_t *previous, pm_parser_t *parser);
+
static VALUE
iseqw_s_compile_prism(int argc, VALUE *argv, VALUE self)
{