aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-10-25 11:23:57 -0300
committerJemma Issroff <jemmaissroff@gmail.com>2023-10-25 18:18:35 -0300
commit8f71a5c53007b072341775e4161ec20b50ffc538 (patch)
tree711e0e6e3e61bf109a7e708313f56c24adbb6c90 /iseq.c
parent0abf2d86b963089a52af9ee221d1b7da7ba9b2ee (diff)
downloadruby-8f71a5c53007b072341775e4161ec20b50ffc538.tar.gz
[PRISM] Move scope_node itself to CRuby, create prism_compile.h
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/iseq.c b/iseq.c
index 933e5c99d4..dd8ebcd0b8 100644
--- a/iseq.c
+++ b/iseq.c
@@ -43,7 +43,7 @@
#include "builtin.h"
#include "insns.inc"
#include "insns_info.inc"
-#include "prism/prism.h"
+#include "prism_compile.h"
VALUE rb_cISeq;
static VALUE iseqw_new(const rb_iseq_t *iseq);
@@ -1391,8 +1391,6 @@ 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)
{