From 3d0a46796b780417096b65de5edb590d3b1537f1 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 27 Sep 2023 12:39:53 -0400 Subject: [PATCH] Rename YARP symbols to prism --- NEWS.md | 2 +- common.mk | 2388 +++++++++++++++++----------------- compile.c | 22 +- inits.c | 2 +- iseq.c | 45 +- lib/prism/language_server.rb | 166 --- lib/prism/version.rb | 5 - prism/prism_compiler.c | 1164 ++++++++--------- prism/prism_init.c | 6 +- test/prism/iseq_test.rb | 190 +-- tool/leaked-globals | 2 +- tool/sync_default_gems.rb | 4 +- tool/update-deps | 16 +- win32/Makefile.sub | 6 +- 14 files changed, 1924 insertions(+), 2094 deletions(-) delete mode 100644 lib/prism/language_server.rb delete mode 100644 lib/prism/version.rb diff --git a/NEWS.md b/NEWS.md index c30f4a1b23..b636cb5269 100644 --- a/NEWS.md +++ b/NEWS.md @@ -93,6 +93,7 @@ The following default gems are updated. * nkf 0.1.3 * openssl 3.2.0 * optparse 0.4.0.pre.1 +* prism 0.12.0 * psych 5.1.0 * reline 0.3.8 * stringio 3.0.9 @@ -101,7 +102,6 @@ The following default gems are updated. * time 0.2.2 * timeout 0.4.0 * uri 0.12.2 -* yarp 0.12.0 The following bundled gems are updated. diff --git a/common.mk b/common.mk index a00d1dd59c..3ddd9b1621 100644 --- a/common.mk +++ b/common.mk @@ -45,8 +45,8 @@ RUN_OPTS = --disable-gems # GITPULLOPTIONS = --no-tags -YARP_SRCDIR = $(srcdir)/yarp -INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(YARP_SRCDIR) -I$(UNICODE_HDR_DIR) $(incflags) +PRISM_SRCDIR = $(srcdir)/prism +INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(PRISM_SRCDIR) -I$(UNICODE_HDR_DIR) $(incflags) GEM_HOME = GEM_PATH = @@ -83,39 +83,39 @@ ENC_MK = enc.mk MAKE_ENC = -f $(ENC_MK) V="$(V)" UNICODE_HDR_DIR="$(UNICODE_HDR_DIR)" \ RUBY="$(BOOTSTRAPRUBY)" MINIRUBY="$(BOOTSTRAPRUBY)" $(mflags) -YARP_BUILD_DIR = yarp +PRISM_BUILD_DIR = prism -YARP_FILES = yarp/api_node.$(OBJEXT) \ - yarp/api_pack.$(OBJEXT) \ - yarp/diagnostic.$(OBJEXT) \ - yarp/enc/yp_big5.$(OBJEXT) \ - yarp/enc/yp_euc_jp.$(OBJEXT) \ - yarp/enc/yp_gbk.$(OBJEXT) \ - yarp/enc/yp_shift_jis.$(OBJEXT) \ - yarp/enc/yp_tables.$(OBJEXT) \ - yarp/enc/yp_unicode.$(OBJEXT) \ - yarp/enc/yp_windows_31j.$(OBJEXT) \ - yarp/extension.$(OBJEXT) \ - yarp/node.$(OBJEXT) \ - yarp/pack.$(OBJEXT) \ - yarp/prettyprint.$(OBJEXT) \ - yarp/regexp.$(OBJEXT) \ - yarp/serialize.$(OBJEXT) \ - yarp/token_type.$(OBJEXT) \ - yarp/unescape.$(OBJEXT) \ - yarp/util/yp_buffer.$(OBJEXT) \ - yarp/util/yp_char.$(OBJEXT) \ - yarp/util/yp_constant_pool.$(OBJEXT) \ - yarp/util/yp_list.$(OBJEXT) \ - yarp/util/yp_memchr.$(OBJEXT) \ - yarp/util/yp_newline_list.$(OBJEXT) \ - yarp/util/yp_state_stack.$(OBJEXT) \ - yarp/util/yp_string.$(OBJEXT) \ - yarp/util/yp_string_list.$(OBJEXT) \ - yarp/util/yp_strncasecmp.$(OBJEXT) \ - yarp/util/yp_strpbrk.$(OBJEXT) \ - yarp/yarp.$(OBJEXT) \ - yarp/yarp_init.$(OBJEXT) +PRISM_FILES = prism/api_node.$(OBJEXT) \ + prism/api_pack.$(OBJEXT) \ + prism/diagnostic.$(OBJEXT) \ + prism/enc/pm_big5.$(OBJEXT) \ + prism/enc/pm_euc_jp.$(OBJEXT) \ + prism/enc/pm_gbk.$(OBJEXT) \ + prism/enc/pm_shift_jis.$(OBJEXT) \ + prism/enc/pm_tables.$(OBJEXT) \ + prism/enc/pm_unicode.$(OBJEXT) \ + prism/enc/pm_windows_31j.$(OBJEXT) \ + prism/extension.$(OBJEXT) \ + prism/node.$(OBJEXT) \ + prism/pack.$(OBJEXT) \ + prism/prettyprint.$(OBJEXT) \ + prism/regexp.$(OBJEXT) \ + prism/serialize.$(OBJEXT) \ + prism/token_type.$(OBJEXT) \ + prism/unescape.$(OBJEXT) \ + prism/util/pm_buffer.$(OBJEXT) \ + prism/util/pm_char.$(OBJEXT) \ + prism/util/pm_constant_pool.$(OBJEXT) \ + prism/util/pm_list.$(OBJEXT) \ + prism/util/pm_memchr.$(OBJEXT) \ + prism/util/pm_newline_list.$(OBJEXT) \ + prism/util/pm_state_stack.$(OBJEXT) \ + prism/util/pm_string.$(OBJEXT) \ + prism/util/pm_string_list.$(OBJEXT) \ + prism/util/pm_strncasecmp.$(OBJEXT) \ + prism/util/pm_strpbrk.$(OBJEXT) \ + prism/prism.$(OBJEXT) \ + prism/prism_init.$(OBJEXT) COMMONOBJS = array.$(OBJEXT) \ ast.$(OBJEXT) \ @@ -190,7 +190,7 @@ COMMONOBJS = array.$(OBJEXT) \ vm_sync.$(OBJEXT) \ vm_trace.$(OBJEXT) \ weakmap.$(OBJEXT) \ - $(YARP_FILES) \ + $(PRISM_FILES) \ $(YJIT_OBJ) \ $(YJIT_LIBOBJ) \ $(COROUTINE_OBJ) \ @@ -199,70 +199,70 @@ COMMONOBJS = array.$(OBJEXT) \ $(BUILTIN_TRANSOBJS) \ $(MISSING) -$(YARP_FILES): $(YARP_BUILD_DIR)/.time $(YARP_BUILD_DIR)/enc/.time $(YARP_BUILD_DIR)/util/.time +$(PRISM_FILES): $(PRISM_BUILD_DIR)/.time $(PRISM_BUILD_DIR)/enc/.time $(PRISM_BUILD_DIR)/util/.time -$(YARP_BUILD_DIR)/.time $(YARP_BUILD_DIR)/enc/.time $(YARP_BUILD_DIR)/util/.time: +$(PRISM_BUILD_DIR)/.time $(PRISM_BUILD_DIR)/enc/.time $(PRISM_BUILD_DIR)/util/.time: $(Q) $(MAKEDIRS) $(@D) @$(NULLCMD) > $@ -main: $(srcdir)/lib/yarp/compiler.rb -srcs: $(srcdir)/lib/yarp/compiler.rb -$(srcdir)/lib/yarp/compiler.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/compiler.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/compiler.rb $(srcdir)/lib/yarp/compiler.rb +main: $(srcdir)/lib/prism/compiler.rb +srcs: $(srcdir)/lib/prism/compiler.rb +$(srcdir)/lib/prism/compiler.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/compiler.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/compiler.rb $(srcdir)/lib/prism/compiler.rb -main: $(srcdir)/lib/yarp/dispatcher.rb -srcs: $(srcdir)/lib/yarp/dispatcher.rb -$(srcdir)/lib/yarp/dispatcher.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/dispatcher.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/dispatcher.rb $(srcdir)/lib/yarp/dispatcher.rb +main: $(srcdir)/lib/prism/dispatcher.rb +srcs: $(srcdir)/lib/prism/dispatcher.rb +$(srcdir)/lib/prism/dispatcher.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/dispatcher.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/dispatcher.rb $(srcdir)/lib/prism/dispatcher.rb -main: $(srcdir)/lib/yarp/dsl.rb -srcs: $(srcdir)/lib/yarp/dsl.rb -$(srcdir)/lib/yarp/dsl.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/dsl.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/dsl.rb $(srcdir)/lib/yarp/dsl.rb +main: $(srcdir)/lib/prism/dsl.rb +srcs: $(srcdir)/lib/prism/dsl.rb +$(srcdir)/lib/prism/dsl.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/dsl.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/dsl.rb $(srcdir)/lib/prism/dsl.rb -main: $(srcdir)/lib/yarp/mutation_compiler.rb -srcs: $(srcdir)/lib/yarp/mutation_compiler.rb -$(srcdir)/lib/yarp/mutation_compiler.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/mutation_compiler.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/mutation_compiler.rb $(srcdir)/lib/yarp/mutation_compiler.rb +main: $(srcdir)/lib/prism/mutation_compiler.rb +srcs: $(srcdir)/lib/prism/mutation_compiler.rb +$(srcdir)/lib/prism/mutation_compiler.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/mutation_compiler.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/mutation_compiler.rb $(srcdir)/lib/prism/mutation_compiler.rb -main: $(srcdir)/lib/yarp/node.rb -srcs: $(srcdir)/lib/yarp/node.rb -$(srcdir)/lib/yarp/node.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/node.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/node.rb $(srcdir)/lib/yarp/node.rb +main: $(srcdir)/lib/prism/node.rb +srcs: $(srcdir)/lib/prism/node.rb +$(srcdir)/lib/prism/node.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/node.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/node.rb $(srcdir)/lib/prism/node.rb -main: $(srcdir)/lib/yarp/serialize.rb -srcs: $(srcdir)/lib/yarp/serialize.rb -$(srcdir)/lib/yarp/serialize.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/serialize.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/serialize.rb $(srcdir)/lib/yarp/serialize.rb +main: $(srcdir)/lib/prism/serialize.rb +srcs: $(srcdir)/lib/prism/serialize.rb +$(srcdir)/lib/prism/serialize.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/serialize.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/serialize.rb $(srcdir)/lib/prism/serialize.rb -main: $(srcdir)/lib/yarp/visitor.rb -srcs: $(srcdir)/lib/yarp/visitor.rb -$(srcdir)/lib/yarp/visitor.rb: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/lib/yarp/visitor.rb.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb lib/yarp/visitor.rb $(srcdir)/lib/yarp/visitor.rb +main: $(srcdir)/lib/prism/visitor.rb +srcs: $(srcdir)/lib/prism/visitor.rb +$(srcdir)/lib/prism/visitor.rb: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/lib/prism/visitor.rb.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb lib/prism/visitor.rb $(srcdir)/lib/prism/visitor.rb -srcs: yarp/api_node.c -yarp/api_node.c: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/ext/yarp/api_node.c.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb ext/yarp/api_node.c $@ +srcs: prism/api_node.c +prism/api_node.c: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/ext/prism/api_node.c.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb ext/prism/api_node.c $@ -srcs: yarp/ast.h -yarp/ast.h: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/include/yarp/ast.h.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb include/yarp/ast.h $@ +srcs: prism/ast.h +prism/ast.h: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/include/prism/ast.h.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb include/prism/ast.h $@ -srcs: yarp/node.c -yarp/node.c: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/src/node.c.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb src/node.c $@ +srcs: prism/node.c +prism/node.c: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/src/node.c.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb src/node.c $@ -srcs: yarp/prettyprint.c -yarp/prettyprint.c: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/src/prettyprint.c.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb src/prettyprint.c $@ +srcs: prism/prettyprint.c +prism/prettyprint.c: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/src/prettyprint.c.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb src/prettyprint.c $@ -srcs: yarp/serialize.c -yarp/serialize.c: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/src/serialize.c.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb src/serialize.c $@ +srcs: prism/serialize.c +prism/serialize.c: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/src/serialize.c.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb src/serialize.c $@ -srcs: yarp/token_type.c -yarp/token_type.c: $(YARP_SRCDIR)/config.yml $(YARP_SRCDIR)/templates/template.rb $(YARP_SRCDIR)/templates/src/token_type.c.erb - $(Q) $(BASERUBY) $(YARP_SRCDIR)/templates/template.rb src/token_type.c $@ +srcs: prism/token_type.c +prism/token_type.c: $(PRISM_SRCDIR)/config.yml $(PRISM_SRCDIR)/templates/template.rb $(PRISM_SRCDIR)/templates/src/token_type.c.erb + $(Q) $(BASERUBY) $(PRISM_SRCDIR)/templates/template.rb src/token_type.c $@ EXPORTOBJS = $(DLNOBJ) \ localeinit.$(OBJEXT) \ @@ -712,10 +712,10 @@ clean-local:: clean-runnable $(Q)$(RM) y.tab.c y.output encdb.h transdb.h config.log rbconfig.rb $(ruby_pc) $(COROUTINE_H:/Context.h=/.time) $(Q)$(RM) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT) ruby.imp ChangeLog $(STATIC_RUBY)$(EXEEXT) $(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb bisect.sh $(ENC_TRANS_D) builtin_binary.inc - $(Q)$(RM) $(YARP_BUILD_DIR)/.time $(YARP_BUILD_DIR)/*/.time + $(Q)$(RM) $(PRISM_BUILD_DIR)/.time $(PRISM_BUILD_DIR)/*/.time -$(Q)$(RMALL) yjit/target -$(Q) $(RMDIR) enc/jis enc/trans enc $(COROUTINE_H:/Context.h=) coroutine yjit \ - $(YARP_BUILD_DIR)/*/ $(YARP_BUILD_DIR) tmp \ + $(PRISM_BUILD_DIR)/*/ $(PRISM_BUILD_DIR) tmp \ 2> $(NULL) || $(NULLCMD) bin/clean-runnable:: PHONY @@ -3207,26 +3207,26 @@ compile.$(OBJEXT): $(top_srcdir)/internal/thread.h compile.$(OBJEXT): $(top_srcdir)/internal/variable.h compile.$(OBJEXT): $(top_srcdir)/internal/vm.h compile.$(OBJEXT): $(top_srcdir)/internal/warnings.h -compile.$(OBJEXT): $(top_srcdir)/yarp/defines.h -compile.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -compile.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -compile.$(OBJEXT): $(top_srcdir)/yarp/node.h -compile.$(OBJEXT): $(top_srcdir)/yarp/pack.h -compile.$(OBJEXT): $(top_srcdir)/yarp/parser.h -compile.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -compile.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -compile.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -compile.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -compile.$(OBJEXT): $(top_srcdir)/yarp/yarp_compiler.c +compile.$(OBJEXT): $(top_srcdir)/prism/defines.h +compile.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +compile.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +compile.$(OBJEXT): $(top_srcdir)/prism/node.h +compile.$(OBJEXT): $(top_srcdir)/prism/pack.h +compile.$(OBJEXT): $(top_srcdir)/prism/parser.h +compile.$(OBJEXT): $(top_srcdir)/prism/regexp.h +compile.$(OBJEXT): $(top_srcdir)/prism/unescape.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +compile.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +compile.$(OBJEXT): $(top_srcdir)/prism/prism.h +compile.$(OBJEXT): $(top_srcdir)/prism/prism_compiler.c compile.$(OBJEXT): {$(VPATH)}assert.h compile.$(OBJEXT): {$(VPATH)}atomic.h compile.$(OBJEXT): {$(VPATH)}backward/2/assume.h @@ -3424,9 +3424,9 @@ compile.$(OBJEXT): {$(VPATH)}vm_callinfo.h compile.$(OBJEXT): {$(VPATH)}vm_core.h compile.$(OBJEXT): {$(VPATH)}vm_debug.h compile.$(OBJEXT): {$(VPATH)}vm_opts.h -compile.$(OBJEXT): {$(VPATH)}yarp/ast.h -compile.$(OBJEXT): {$(VPATH)}yarp/version.h -compile.$(OBJEXT): {$(VPATH)}yarp/yarp.h +compile.$(OBJEXT): {$(VPATH)}prism/ast.h +compile.$(OBJEXT): {$(VPATH)}prism/version.h +compile.$(OBJEXT): {$(VPATH)}prism/prism.h complex.$(OBJEXT): $(CCAN_DIR)/check_type/check_type.h complex.$(OBJEXT): $(CCAN_DIR)/container_of/container_of.h complex.$(OBJEXT): $(CCAN_DIR)/list/list.h @@ -8256,25 +8256,25 @@ iseq.$(OBJEXT): $(top_srcdir)/internal/thread.h iseq.$(OBJEXT): $(top_srcdir)/internal/variable.h iseq.$(OBJEXT): $(top_srcdir)/internal/vm.h iseq.$(OBJEXT): $(top_srcdir)/internal/warnings.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/defines.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/node.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/pack.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/parser.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -iseq.$(OBJEXT): $(top_srcdir)/yarp/yarp.h +iseq.$(OBJEXT): $(top_srcdir)/prism/defines.h +iseq.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +iseq.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +iseq.$(OBJEXT): $(top_srcdir)/prism/node.h +iseq.$(OBJEXT): $(top_srcdir)/prism/pack.h +iseq.$(OBJEXT): $(top_srcdir)/prism/parser.h +iseq.$(OBJEXT): $(top_srcdir)/prism/regexp.h +iseq.$(OBJEXT): $(top_srcdir)/prism/unescape.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +iseq.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +iseq.$(OBJEXT): $(top_srcdir)/prism/prism.h iseq.$(OBJEXT): {$(VPATH)}assert.h iseq.$(OBJEXT): {$(VPATH)}atomic.h iseq.$(OBJEXT): {$(VPATH)}backward/2/assume.h @@ -8469,9 +8469,9 @@ iseq.$(OBJEXT): {$(VPATH)}util.h iseq.$(OBJEXT): {$(VPATH)}vm_callinfo.h iseq.$(OBJEXT): {$(VPATH)}vm_core.h iseq.$(OBJEXT): {$(VPATH)}vm_opts.h -iseq.$(OBJEXT): {$(VPATH)}yarp/ast.h -iseq.$(OBJEXT): {$(VPATH)}yarp/version.h -iseq.$(OBJEXT): {$(VPATH)}yarp/yarp.h +iseq.$(OBJEXT): {$(VPATH)}prism/ast.h +iseq.$(OBJEXT): {$(VPATH)}prism/version.h +iseq.$(OBJEXT): {$(VPATH)}prism/prism.h iseq.$(OBJEXT): {$(VPATH)}yjit.h load.$(OBJEXT): $(CCAN_DIR)/check_type/check_type.h load.$(OBJEXT): $(CCAN_DIR)/container_of/container_of.h @@ -18927,1070 +18927,1070 @@ weakmap.$(OBJEXT): {$(VPATH)}thread_native.h weakmap.$(OBJEXT): {$(VPATH)}vm_core.h weakmap.$(OBJEXT): {$(VPATH)}vm_opts.h weakmap.$(OBJEXT): {$(VPATH)}weakmap.c -yarp/api_node.$(OBJEXT): $(hdrdir)/ruby.h -yarp/api_node.$(OBJEXT): $(hdrdir)/ruby/ruby.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/extension.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/api_node.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/api_node.$(OBJEXT): {$(VPATH)}assert.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/assume.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/attributes.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/bool.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/limits.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/long_long.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h -yarp/api_node.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h -yarp/api_node.$(OBJEXT): {$(VPATH)}config.h -yarp/api_node.$(OBJEXT): {$(VPATH)}defines.h -yarp/api_node.$(OBJEXT): {$(VPATH)}encoding.h -yarp/api_node.$(OBJEXT): {$(VPATH)}intern.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/abi.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/anyargs.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/assume.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/cold.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/const.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/error.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/format.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/pure.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/warning.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/cast.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_since.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/config.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/constant_p.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rarray.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rclass.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rdata.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rfile.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rhash.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/robject.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rstring.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/ctype.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/dllexport.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/dosish.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/re.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/string.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/error.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/eval.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/event.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/fl_type.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/gc.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/glob.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/globals.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/attribute.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/builtin.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/extension.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/feature.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/has/warning.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/array.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/class.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/compar.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/complex.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/cont.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/dir.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/enum.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/error.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/eval.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/file.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/hash.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/io.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/load.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/object.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/parse.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/proc.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/process.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/random.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/range.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/rational.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/re.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/select.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/signal.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/string.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/struct.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/thread.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/time.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/variable.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/intern/vm.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/interpreter.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/iterator.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/memory.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/method.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/module.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/newobj.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/scan_args.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/special_consts.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/static_assert.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/stdalign.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/stdbool.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/symbol.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/value.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/value_type.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/variable.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/warning_push.h -yarp/api_node.$(OBJEXT): {$(VPATH)}internal/xmalloc.h -yarp/api_node.$(OBJEXT): {$(VPATH)}missing.h -yarp/api_node.$(OBJEXT): {$(VPATH)}onigmo.h -yarp/api_node.$(OBJEXT): {$(VPATH)}oniguruma.h -yarp/api_node.$(OBJEXT): {$(VPATH)}st.h -yarp/api_node.$(OBJEXT): {$(VPATH)}subst.h -yarp/api_node.$(OBJEXT): {$(VPATH)}yarp/api_node.c -yarp/api_node.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/api_node.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/api_pack.$(OBJEXT): $(hdrdir)/ruby.h -yarp/api_pack.$(OBJEXT): $(hdrdir)/ruby/ruby.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/api_pack.c -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/extension.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/api_pack.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}assert.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/assume.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/attributes.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/bool.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/limits.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/long_long.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}config.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}defines.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}encoding.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}intern.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/abi.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/anyargs.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/assume.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/cold.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/const.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/error.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/format.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/pure.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/warning.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/cast.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_since.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/config.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/constant_p.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rarray.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rclass.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rdata.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rfile.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rhash.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/robject.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rstring.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/ctype.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/dllexport.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/dosish.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/re.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/string.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/error.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/eval.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/event.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/fl_type.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/gc.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/glob.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/globals.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/attribute.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/builtin.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/extension.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/feature.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/has/warning.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/array.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/class.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/compar.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/complex.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/cont.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/dir.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/enum.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/error.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/eval.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/file.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/hash.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/io.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/load.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/object.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/parse.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/proc.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/process.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/random.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/range.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/rational.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/re.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/select.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/signal.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/string.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/struct.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/thread.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/time.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/variable.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/vm.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/interpreter.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/iterator.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/memory.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/method.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/module.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/newobj.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/scan_args.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/special_consts.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/static_assert.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/stdalign.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/stdbool.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/symbol.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/value.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/value_type.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/variable.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/warning_push.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}internal/xmalloc.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}missing.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}onigmo.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}oniguruma.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}st.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}subst.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/api_pack.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/diagnostic.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/diagnostic.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.c -yarp/diagnostic.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/diagnostic.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/diagnostic.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_ascii.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_ascii.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_ascii.c -yarp/enc/yp_ascii.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_ascii.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_big5.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_big5.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_big5.c -yarp/enc/yp_big5.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_big5.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_euc_jp.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_euc_jp.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_euc_jp.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_euc_jp.c -yarp/enc/yp_euc_jp.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_gbk.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_gbk.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_gbk.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_gbk.c -yarp/enc/yp_gbk.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_1.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_1.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_1.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_1.c -yarp/enc/yp_iso_8859_1.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_10.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_10.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_10.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_10.c -yarp/enc/yp_iso_8859_10.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_11.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_11.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_11.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_11.c -yarp/enc/yp_iso_8859_11.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_13.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_13.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_13.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_13.c -yarp/enc/yp_iso_8859_13.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_14.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_14.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_14.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_14.c -yarp/enc/yp_iso_8859_14.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_15.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_15.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_15.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_15.c -yarp/enc/yp_iso_8859_15.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_16.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_16.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_16.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_16.c -yarp/enc/yp_iso_8859_16.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_2.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_2.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_2.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_2.c -yarp/enc/yp_iso_8859_2.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_3.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_3.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_3.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_3.c -yarp/enc/yp_iso_8859_3.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_4.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_4.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_4.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_4.c -yarp/enc/yp_iso_8859_4.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_5.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_5.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_5.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_5.c -yarp/enc/yp_iso_8859_5.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_6.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_6.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_6.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_6.c -yarp/enc/yp_iso_8859_6.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_7.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_7.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_7.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_7.c -yarp/enc/yp_iso_8859_7.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_8.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_8.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_8.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_8.c -yarp/enc/yp_iso_8859_8.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_iso_8859_9.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_iso_8859_9.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_iso_8859_9.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_iso_8859_9.c -yarp/enc/yp_iso_8859_9.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_koi8_r.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_koi8_r.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_koi8_r.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_koi8_r.c -yarp/enc/yp_koi8_r.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_shared.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_shared.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_shared.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_shared.c -yarp/enc/yp_shared.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_shift_jis.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_shift_jis.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_shift_jis.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_shift_jis.c -yarp/enc/yp_shift_jis.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_tables.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_tables.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_tables.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_tables.c -yarp/enc/yp_tables.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_unicode.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_unicode.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_unicode.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_unicode.c -yarp/enc/yp_unicode.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_windows_1251.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_windows_1251.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_windows_1251.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_windows_1251.c -yarp/enc/yp_windows_1251.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_windows_1252.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_windows_1252.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_windows_1252.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_windows_1252.c -yarp/enc/yp_windows_1252.$(OBJEXT): {$(VPATH)}config.h -yarp/enc/yp_windows_31j.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/enc/yp_windows_31j.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/enc/yp_windows_31j.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_windows_31j.c -yarp/enc/yp_windows_31j.$(OBJEXT): {$(VPATH)}config.h -yarp/extension.$(OBJEXT): $(hdrdir)/ruby.h -yarp/extension.$(OBJEXT): $(hdrdir)/ruby/ruby.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/extension.c -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/extension.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/extension.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/extension.$(OBJEXT): {$(VPATH)}assert.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/assume.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/attributes.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/bool.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/limits.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/long_long.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h -yarp/extension.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h -yarp/extension.$(OBJEXT): {$(VPATH)}config.h -yarp/extension.$(OBJEXT): {$(VPATH)}defines.h -yarp/extension.$(OBJEXT): {$(VPATH)}encoding.h -yarp/extension.$(OBJEXT): {$(VPATH)}intern.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/abi.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/anyargs.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/assume.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/cold.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/const.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/error.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/format.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/pure.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/warning.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/cast.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/compiler_since.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/config.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/constant_p.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rarray.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rclass.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rdata.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rfile.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rhash.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/robject.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rstring.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/ctype.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/dllexport.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/dosish.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/re.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/string.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/error.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/eval.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/event.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/fl_type.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/gc.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/glob.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/globals.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/attribute.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/builtin.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/extension.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/feature.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/has/warning.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/array.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/class.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/compar.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/complex.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/cont.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/dir.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/enum.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/error.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/eval.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/file.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/hash.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/io.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/load.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/object.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/parse.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/proc.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/process.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/random.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/range.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/rational.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/re.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/select.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/signal.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/string.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/struct.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/thread.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/time.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/variable.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/intern/vm.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/interpreter.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/iterator.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/memory.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/method.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/module.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/newobj.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/scan_args.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/special_consts.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/static_assert.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/stdalign.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/stdbool.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/symbol.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/value.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/value_type.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/variable.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/warning_push.h -yarp/extension.$(OBJEXT): {$(VPATH)}internal/xmalloc.h -yarp/extension.$(OBJEXT): {$(VPATH)}missing.h -yarp/extension.$(OBJEXT): {$(VPATH)}onigmo.h -yarp/extension.$(OBJEXT): {$(VPATH)}oniguruma.h -yarp/extension.$(OBJEXT): {$(VPATH)}st.h -yarp/extension.$(OBJEXT): {$(VPATH)}subst.h -yarp/extension.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/extension.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/node.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/node.$(OBJEXT): {$(VPATH)}config.h -yarp/node.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/node.$(OBJEXT): {$(VPATH)}yarp/node.c -yarp/pack.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/pack.$(OBJEXT): $(top_srcdir)/yarp/pack.c -yarp/pack.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/pack.$(OBJEXT): {$(VPATH)}config.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/prettyprint.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/prettyprint.$(OBJEXT): {$(VPATH)}config.h -yarp/prettyprint.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/prettyprint.$(OBJEXT): {$(VPATH)}yarp/prettyprint.c -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/regexp.c -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/regexp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/regexp.$(OBJEXT): {$(VPATH)}config.h -yarp/regexp.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/serialize.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/serialize.$(OBJEXT): {$(VPATH)}config.h -yarp/serialize.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/serialize.$(OBJEXT): {$(VPATH)}yarp/serialize.c -yarp/serialize.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/token_type.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/token_type.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/token_type.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/token_type.$(OBJEXT): {$(VPATH)}config.h -yarp/token_type.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/token_type.$(OBJEXT): {$(VPATH)}yarp/token_type.c -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/unescape.c -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/unescape.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/unescape.$(OBJEXT): {$(VPATH)}config.h -yarp/unescape.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/unescape.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/util/yp_buffer.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_buffer.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.c -yarp/util/yp_buffer.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/util/yp_buffer.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_char.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_char.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.c -yarp/util/yp_char.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/util/yp_char.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/util/yp_char.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_constant_pool.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_constant_pool.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.c -yarp/util/yp_constant_pool.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/util/yp_constant_pool.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_list.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.c -yarp/util/yp_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/util/yp_list.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.c -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/util/yp_memchr.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/util/yp_memchr.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_memchr.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/util/yp_newline_list.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_newline_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.c -yarp/util/yp_newline_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/util/yp_newline_list.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_state_stack.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_state_stack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.c -yarp/util/yp_state_stack.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/util/yp_state_stack.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_string.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_string.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.c -yarp/util/yp_string.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/util/yp_string.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_string_list.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_string_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/util/yp_string_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.c -yarp/util/yp_string_list.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/util/yp_string_list.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_strncasecmp.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_strncasecmp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strncasecmp.c -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.c -yarp/util/yp_strpbrk.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/util/yp_strpbrk.$(OBJEXT): {$(VPATH)}config.h -yarp/util/yp_strpbrk.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/version.h -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/yarp.c -yarp/yarp.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/yarp.$(OBJEXT): {$(VPATH)}config.h -yarp/yarp.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/yarp.$(OBJEXT): {$(VPATH)}yarp/version.h -yarp/yarp_init.$(OBJEXT): $(hdrdir)/ruby.h -yarp/yarp_init.$(OBJEXT): $(hdrdir)/ruby/ruby.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/defines.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/diagnostic.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/enc/yp_encoding.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/extension.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/node.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/pack.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/parser.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/regexp.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/unescape.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_buffer.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_char.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_constant_pool.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_list.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_memchr.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_newline_list.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_state_stack.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_string_list.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/util/yp_strpbrk.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/yarp.h -yarp/yarp_init.$(OBJEXT): $(top_srcdir)/yarp/yarp_init.c -yarp/yarp_init.$(OBJEXT): {$(VPATH)}assert.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/assume.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/attributes.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/bool.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/limits.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/long_long.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}config.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}defines.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}encoding.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}intern.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/abi.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/anyargs.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/assume.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/cold.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/const.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/error.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/format.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/pure.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/warning.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/cast.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/compiler_since.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/config.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/constant_p.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rarray.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rclass.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rdata.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rfile.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rhash.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/robject.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rstring.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/ctype.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/dllexport.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/dosish.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/re.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/string.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/error.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/eval.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/event.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/fl_type.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/gc.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/glob.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/globals.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/attribute.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/builtin.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/extension.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/feature.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/has/warning.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/array.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/class.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/compar.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/complex.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/cont.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/dir.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/enum.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/error.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/eval.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/file.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/hash.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/io.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/load.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/object.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/parse.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/proc.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/process.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/random.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/range.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/rational.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/re.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/select.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/signal.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/string.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/struct.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/thread.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/time.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/variable.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/intern/vm.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/interpreter.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/iterator.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/memory.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/method.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/module.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/newobj.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/scan_args.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/special_consts.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/static_assert.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/stdalign.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/stdbool.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/symbol.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/value.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/value_type.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/variable.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/warning_push.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}internal/xmalloc.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}missing.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}onigmo.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}oniguruma.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}st.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}subst.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}yarp/ast.h -yarp/yarp_init.$(OBJEXT): {$(VPATH)}yarp/version.h +prism/api_node.$(OBJEXT): $(hdrdir)/ruby.h +prism/api_node.$(OBJEXT): $(hdrdir)/ruby/ruby.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/extension.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/api_node.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/api_node.$(OBJEXT): {$(VPATH)}assert.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/assume.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/attributes.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/bool.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/limits.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/long_long.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h +prism/api_node.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h +prism/api_node.$(OBJEXT): {$(VPATH)}config.h +prism/api_node.$(OBJEXT): {$(VPATH)}defines.h +prism/api_node.$(OBJEXT): {$(VPATH)}encoding.h +prism/api_node.$(OBJEXT): {$(VPATH)}intern.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/abi.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/anyargs.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/assume.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/cold.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/const.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/error.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/format.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/pure.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/warning.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/cast.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/compiler_since.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/config.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/constant_p.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rarray.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rclass.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rdata.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rfile.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rhash.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/robject.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rstring.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/ctype.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/dllexport.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/dosish.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/re.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/string.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/error.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/eval.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/event.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/fl_type.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/gc.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/glob.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/globals.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/attribute.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/builtin.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/extension.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/feature.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/has/warning.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/array.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/class.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/compar.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/complex.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/cont.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/dir.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/enum.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/error.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/eval.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/file.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/hash.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/io.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/load.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/object.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/parse.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/proc.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/process.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/random.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/range.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/rational.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/re.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/select.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/signal.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/string.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/struct.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/thread.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/time.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/variable.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/intern/vm.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/interpreter.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/iterator.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/memory.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/method.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/module.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/newobj.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/scan_args.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/special_consts.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/static_assert.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/stdalign.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/stdbool.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/symbol.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/value.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/value_type.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/variable.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/warning_push.h +prism/api_node.$(OBJEXT): {$(VPATH)}internal/xmalloc.h +prism/api_node.$(OBJEXT): {$(VPATH)}missing.h +prism/api_node.$(OBJEXT): {$(VPATH)}onigmo.h +prism/api_node.$(OBJEXT): {$(VPATH)}oniguruma.h +prism/api_node.$(OBJEXT): {$(VPATH)}st.h +prism/api_node.$(OBJEXT): {$(VPATH)}subst.h +prism/api_node.$(OBJEXT): {$(VPATH)}prism/api_node.c +prism/api_node.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/api_node.$(OBJEXT): {$(VPATH)}prism/version.h +prism/api_pack.$(OBJEXT): $(hdrdir)/ruby.h +prism/api_pack.$(OBJEXT): $(hdrdir)/ruby/ruby.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/api_pack.c +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/extension.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/api_pack.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/api_pack.$(OBJEXT): {$(VPATH)}assert.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/assume.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/attributes.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/bool.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/limits.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/long_long.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h +prism/api_pack.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h +prism/api_pack.$(OBJEXT): {$(VPATH)}config.h +prism/api_pack.$(OBJEXT): {$(VPATH)}defines.h +prism/api_pack.$(OBJEXT): {$(VPATH)}encoding.h +prism/api_pack.$(OBJEXT): {$(VPATH)}intern.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/abi.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/anyargs.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/assume.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/cold.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/const.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/error.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/format.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/pure.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/warning.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/cast.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/compiler_since.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/config.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/constant_p.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rarray.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rclass.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rdata.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rfile.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rhash.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/robject.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rstring.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/ctype.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/dllexport.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/dosish.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/re.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/string.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/error.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/eval.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/event.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/fl_type.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/gc.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/glob.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/globals.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/attribute.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/builtin.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/extension.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/feature.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/has/warning.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/array.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/class.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/compar.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/complex.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/cont.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/dir.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/enum.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/error.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/eval.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/file.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/hash.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/io.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/load.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/object.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/parse.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/proc.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/process.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/random.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/range.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/rational.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/re.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/select.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/signal.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/string.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/struct.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/thread.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/time.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/variable.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/intern/vm.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/interpreter.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/iterator.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/memory.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/method.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/module.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/newobj.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/scan_args.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/special_consts.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/static_assert.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/stdalign.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/stdbool.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/symbol.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/value.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/value_type.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/variable.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/warning_push.h +prism/api_pack.$(OBJEXT): {$(VPATH)}internal/xmalloc.h +prism/api_pack.$(OBJEXT): {$(VPATH)}missing.h +prism/api_pack.$(OBJEXT): {$(VPATH)}onigmo.h +prism/api_pack.$(OBJEXT): {$(VPATH)}oniguruma.h +prism/api_pack.$(OBJEXT): {$(VPATH)}st.h +prism/api_pack.$(OBJEXT): {$(VPATH)}subst.h +prism/api_pack.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/api_pack.$(OBJEXT): {$(VPATH)}prism/version.h +prism/diagnostic.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/diagnostic.$(OBJEXT): $(top_srcdir)/prism/diagnostic.c +prism/diagnostic.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/diagnostic.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/diagnostic.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_ascii.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_ascii.$(OBJEXT): $(top_srcdir)/prism/enc/pm_ascii.c +prism/enc/pm_ascii.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_ascii.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_big5.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_big5.$(OBJEXT): $(top_srcdir)/prism/enc/pm_big5.c +prism/enc/pm_big5.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_big5.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_euc_jp.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_euc_jp.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_euc_jp.$(OBJEXT): $(top_srcdir)/prism/enc/pm_euc_jp.c +prism/enc/pm_euc_jp.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_gbk.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_gbk.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_gbk.$(OBJEXT): $(top_srcdir)/prism/enc/pm_gbk.c +prism/enc/pm_gbk.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_1.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_1.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_1.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_1.c +prism/enc/pm_iso_8859_1.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_10.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_10.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_10.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_10.c +prism/enc/pm_iso_8859_10.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_11.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_11.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_11.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_11.c +prism/enc/pm_iso_8859_11.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_13.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_13.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_13.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_13.c +prism/enc/pm_iso_8859_13.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_14.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_14.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_14.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_14.c +prism/enc/pm_iso_8859_14.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_15.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_15.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_15.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_15.c +prism/enc/pm_iso_8859_15.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_16.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_16.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_16.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_16.c +prism/enc/pm_iso_8859_16.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_2.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_2.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_2.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_2.c +prism/enc/pm_iso_8859_2.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_3.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_3.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_3.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_3.c +prism/enc/pm_iso_8859_3.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_4.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_4.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_4.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_4.c +prism/enc/pm_iso_8859_4.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_5.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_5.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_5.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_5.c +prism/enc/pm_iso_8859_5.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_6.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_6.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_6.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_6.c +prism/enc/pm_iso_8859_6.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_7.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_7.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_7.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_7.c +prism/enc/pm_iso_8859_7.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_8.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_8.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_8.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_8.c +prism/enc/pm_iso_8859_8.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_iso_8859_9.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_iso_8859_9.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_iso_8859_9.$(OBJEXT): $(top_srcdir)/prism/enc/pm_iso_8859_9.c +prism/enc/pm_iso_8859_9.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_koi8_r.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_koi8_r.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_koi8_r.$(OBJEXT): $(top_srcdir)/prism/enc/pm_koi8_r.c +prism/enc/pm_koi8_r.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_shared.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_shared.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_shared.$(OBJEXT): $(top_srcdir)/prism/enc/pm_shared.c +prism/enc/pm_shared.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_shift_jis.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_shift_jis.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_shift_jis.$(OBJEXT): $(top_srcdir)/prism/enc/pm_shift_jis.c +prism/enc/pm_shift_jis.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_tables.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_tables.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_tables.$(OBJEXT): $(top_srcdir)/prism/enc/pm_tables.c +prism/enc/pm_tables.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_unicode.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_unicode.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_unicode.$(OBJEXT): $(top_srcdir)/prism/enc/pm_unicode.c +prism/enc/pm_unicode.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_windows_1251.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_windows_1251.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_windows_1251.$(OBJEXT): $(top_srcdir)/prism/enc/pm_windows_1251.c +prism/enc/pm_windows_1251.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_windows_1252.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_windows_1252.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_windows_1252.$(OBJEXT): $(top_srcdir)/prism/enc/pm_windows_1252.c +prism/enc/pm_windows_1252.$(OBJEXT): {$(VPATH)}config.h +prism/enc/pm_windows_31j.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/enc/pm_windows_31j.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/enc/pm_windows_31j.$(OBJEXT): $(top_srcdir)/prism/enc/pm_windows_31j.c +prism/enc/pm_windows_31j.$(OBJEXT): {$(VPATH)}config.h +prism/extension.$(OBJEXT): $(hdrdir)/ruby.h +prism/extension.$(OBJEXT): $(hdrdir)/ruby/ruby.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/extension.c +prism/extension.$(OBJEXT): $(top_srcdir)/prism/extension.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/extension.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/extension.$(OBJEXT): {$(VPATH)}assert.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/assume.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/attributes.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/bool.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/limits.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/long_long.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h +prism/extension.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h +prism/extension.$(OBJEXT): {$(VPATH)}config.h +prism/extension.$(OBJEXT): {$(VPATH)}defines.h +prism/extension.$(OBJEXT): {$(VPATH)}encoding.h +prism/extension.$(OBJEXT): {$(VPATH)}intern.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/abi.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/anyargs.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/assume.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/cold.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/const.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/error.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/format.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/pure.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/warning.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/cast.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/compiler_since.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/config.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/constant_p.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rarray.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rclass.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rdata.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rfile.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rhash.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/robject.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rstring.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/ctype.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/dllexport.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/dosish.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/re.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/string.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/error.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/eval.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/event.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/fl_type.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/gc.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/glob.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/globals.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/attribute.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/builtin.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/extension.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/feature.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/has/warning.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/array.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/class.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/compar.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/complex.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/cont.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/dir.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/enum.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/error.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/eval.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/file.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/hash.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/io.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/load.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/object.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/parse.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/proc.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/process.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/random.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/range.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/rational.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/re.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/select.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/signal.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/string.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/struct.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/thread.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/time.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/variable.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/intern/vm.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/interpreter.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/iterator.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/memory.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/method.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/module.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/newobj.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/scan_args.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/special_consts.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/static_assert.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/stdalign.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/stdbool.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/symbol.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/value.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/value_type.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/variable.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/warning_push.h +prism/extension.$(OBJEXT): {$(VPATH)}internal/xmalloc.h +prism/extension.$(OBJEXT): {$(VPATH)}missing.h +prism/extension.$(OBJEXT): {$(VPATH)}onigmo.h +prism/extension.$(OBJEXT): {$(VPATH)}oniguruma.h +prism/extension.$(OBJEXT): {$(VPATH)}st.h +prism/extension.$(OBJEXT): {$(VPATH)}subst.h +prism/extension.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/extension.$(OBJEXT): {$(VPATH)}prism/version.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/node.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/node.$(OBJEXT): {$(VPATH)}config.h +prism/node.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/node.$(OBJEXT): {$(VPATH)}prism/node.c +prism/pack.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/pack.$(OBJEXT): $(top_srcdir)/prism/pack.c +prism/pack.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/pack.$(OBJEXT): {$(VPATH)}config.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/prettyprint.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/prettyprint.$(OBJEXT): {$(VPATH)}config.h +prism/prettyprint.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/prettyprint.$(OBJEXT): {$(VPATH)}prism/prettyprint.c +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/regexp.c +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/regexp.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/regexp.$(OBJEXT): {$(VPATH)}config.h +prism/regexp.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/serialize.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/serialize.$(OBJEXT): {$(VPATH)}config.h +prism/serialize.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/serialize.$(OBJEXT): {$(VPATH)}prism/serialize.c +prism/serialize.$(OBJEXT): {$(VPATH)}prism/version.h +prism/token_type.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/token_type.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/token_type.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/token_type.$(OBJEXT): {$(VPATH)}config.h +prism/token_type.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/token_type.$(OBJEXT): {$(VPATH)}prism/token_type.c +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/unescape.c +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/unescape.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/unescape.$(OBJEXT): {$(VPATH)}config.h +prism/unescape.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/unescape.$(OBJEXT): {$(VPATH)}prism/version.h +prism/util/pm_buffer.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_buffer.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.c +prism/util/pm_buffer.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/util/pm_buffer.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_char.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_char.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.c +prism/util/pm_char.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/util/pm_char.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/util/pm_char.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_constant_pool.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_constant_pool.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.c +prism/util/pm_constant_pool.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/util/pm_constant_pool.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_list.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.c +prism/util/pm_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/util/pm_list.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.c +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/util/pm_memchr.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/util/pm_memchr.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_memchr.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/util/pm_newline_list.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_newline_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.c +prism/util/pm_newline_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/util/pm_newline_list.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_state_stack.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_state_stack.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.c +prism/util/pm_state_stack.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/util/pm_state_stack.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_string.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_string.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.c +prism/util/pm_string.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/util/pm_string.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_string_list.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_string_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/util/pm_string_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.c +prism/util/pm_string_list.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/util/pm_string_list.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_strncasecmp.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_strncasecmp.$(OBJEXT): $(top_srcdir)/prism/util/pm_strncasecmp.c +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.c +prism/util/pm_strpbrk.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/util/pm_strpbrk.$(OBJEXT): {$(VPATH)}config.h +prism/util/pm_strpbrk.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/version.h +prism/prism.$(OBJEXT): $(top_srcdir)/prism/prism.c +prism/prism.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/prism.$(OBJEXT): {$(VPATH)}config.h +prism/prism.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/prism.$(OBJEXT): {$(VPATH)}prism/version.h +prism/prism_init.$(OBJEXT): $(hdrdir)/ruby.h +prism/prism_init.$(OBJEXT): $(hdrdir)/ruby/ruby.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/defines.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/diagnostic.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/enc/pm_encoding.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/extension.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/node.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/pack.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/parser.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/regexp.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/unescape.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_buffer.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_char.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_constant_pool.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_list.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_memchr.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_newline_list.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_state_stack.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_string.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_string_list.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/util/pm_strpbrk.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/prism.h +prism/prism_init.$(OBJEXT): $(top_srcdir)/prism/prism_init.c +prism/prism_init.$(OBJEXT): {$(VPATH)}assert.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/assume.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/attributes.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/bool.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/inttypes.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/limits.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/long_long.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/stdalign.h +prism/prism_init.$(OBJEXT): {$(VPATH)}backward/2/stdarg.h +prism/prism_init.$(OBJEXT): {$(VPATH)}config.h +prism/prism_init.$(OBJEXT): {$(VPATH)}defines.h +prism/prism_init.$(OBJEXT): {$(VPATH)}encoding.h +prism/prism_init.$(OBJEXT): {$(VPATH)}intern.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/abi.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/anyargs.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/char.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/double.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/fixnum.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/gid_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/int.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/intptr_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/long.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/long_long.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/mode_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/off_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/pid_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/short.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/size_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/st_data_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/arithmetic/uid_t.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/assume.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/alloc_size.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/artificial.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/cold.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/const.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/constexpr.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/deprecated.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/diagnose_if.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/enum_extensibility.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/error.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/flag_enum.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/forceinline.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/format.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/maybe_unused.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/noalias.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/nodiscard.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/noexcept.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/noinline.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/nonnull.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/noreturn.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/packed_struct.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/pure.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/restrict.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/returns_nonnull.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/warning.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/attr/weakref.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/cast.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/apple.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/clang.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/gcc.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/intel.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/msvc.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_is/sunpro.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/compiler_since.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/config.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/constant_p.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rarray.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rbasic.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rbignum.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rclass.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rdata.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rfile.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rhash.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/robject.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rregexp.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rstring.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rstruct.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/core/rtypeddata.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/ctype.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/dllexport.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/dosish.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/coderange.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/ctype.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/encoding.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/pathname.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/re.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/sprintf.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/string.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/symbol.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/encoding/transcode.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/error.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/eval.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/event.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/fl_type.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/gc.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/glob.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/globals.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/attribute.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/builtin.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/c_attribute.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/cpp_attribute.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/declspec_attribute.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/extension.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/feature.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/has/warning.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/array.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/bignum.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/class.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/compar.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/complex.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/cont.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/dir.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/enum.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/enumerator.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/error.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/eval.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/file.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/hash.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/io.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/load.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/marshal.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/numeric.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/object.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/parse.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/proc.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/process.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/random.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/range.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/rational.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/re.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/ruby.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/select.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/select/largesize.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/signal.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/sprintf.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/string.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/struct.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/thread.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/time.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/variable.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/intern/vm.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/interpreter.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/iterator.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/memory.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/method.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/module.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/newobj.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/scan_args.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/special_consts.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/static_assert.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/stdalign.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/stdbool.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/symbol.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/value.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/value_type.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/variable.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/warning_push.h +prism/prism_init.$(OBJEXT): {$(VPATH)}internal/xmalloc.h +prism/prism_init.$(OBJEXT): {$(VPATH)}missing.h +prism/prism_init.$(OBJEXT): {$(VPATH)}onigmo.h +prism/prism_init.$(OBJEXT): {$(VPATH)}oniguruma.h +prism/prism_init.$(OBJEXT): {$(VPATH)}st.h +prism/prism_init.$(OBJEXT): {$(VPATH)}subst.h +prism/prism_init.$(OBJEXT): {$(VPATH)}prism/ast.h +prism/prism_init.$(OBJEXT): {$(VPATH)}prism/version.h yjit.$(OBJEXT): $(CCAN_DIR)/check_type/check_type.h yjit.$(OBJEXT): $(CCAN_DIR)/container_of/container_of.h yjit.$(OBJEXT): $(CCAN_DIR)/list/list.h diff --git a/compile.c b/compile.c index 290d29e15d..9b77483bdb 100644 --- a/compile.c +++ b/compile.c @@ -43,7 +43,7 @@ #include "builtin.h" #include "insns.inc" #include "insns_info.inc" -#include "yarp/yarp.h" +#include "prism/prism.h" #undef RUBY_UNTYPED_DATA_WARNING #define RUBY_UNTYPED_DATA_WARNING 0 @@ -856,17 +856,17 @@ rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node) return iseq_setup(iseq, ret); } -typedef struct yp_compile_context { - yp_parser_t *parser; - struct yp_compile_context *previous; +typedef struct pm_compile_context { + pm_parser_t *parser; + struct pm_compile_context *previous; ID *constants; st_table *index_lookup_table; -} yp_compile_context_t; +} pm_compile_context_t; -static VALUE rb_translate_yarp(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, yp_compile_context_t *compile_context); +static VALUE rb_translate_prism(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, pm_compile_context_t *compile_context); VALUE -rb_iseq_compile_yarp_node(rb_iseq_t * iseq, const yp_node_t *yarp_pointer, yp_parser_t *parser) +rb_iseq_compile_prism_node(rb_iseq_t * iseq, const pm_node_t *node, pm_parser_t *parser) { DECL_ANCHOR(ret); INIT_ANCHOR(ret); @@ -875,20 +875,20 @@ rb_iseq_compile_yarp_node(rb_iseq_t * iseq, const yp_node_t *yarp_pointer, yp_pa rb_encoding *encoding = rb_enc_find(parser->encoding.name); for (size_t index = 0; index < parser->constant_pool.capacity; index++) { - yp_constant_t constant = parser->constant_pool.constants[index]; + pm_constant_t constant = parser->constant_pool.constants[index]; if (constant.id != 0) { constants[constant.id - 1] = rb_intern3((const char *) constant.start, constant.length, encoding); } } - yp_compile_context_t compile_context = { + pm_compile_context_t compile_context = { .parser = parser, .previous = NULL, .constants = constants }; - CHECK(rb_translate_yarp(iseq, yarp_pointer, ret, &compile_context)); + CHECK(rb_translate_prism(iseq, node, ret, &compile_context)); free(constants); CHECK(iseq_setup_insn(iseq, ret)); @@ -13369,4 +13369,4 @@ rb_iseq_ibf_load_extra_data(VALUE str) return extra_str; } -#include "yarp/yarp_compiler.c" +#include "prism/prism_compiler.c" diff --git a/inits.c b/inits.c index 606138958b..46530bb6d0 100644 --- a/inits.c +++ b/inits.c @@ -76,7 +76,7 @@ rb_call_inits(void) CALL(ast); CALL(gc_stress); CALL(shape); - CALL(YARP); + CALL(Prism); // enable builtin loading CALL(builtin); diff --git a/iseq.c b/iseq.c index 6f21e16c83..5deda19c26 100644 --- a/iseq.c +++ b/iseq.c @@ -43,7 +43,7 @@ #include "builtin.h" #include "insns.inc" #include "insns_info.inc" -#include "yarp/yarp.h" +#include "prism/prism.h" VALUE rb_cISeq; static VALUE iseqw_new(const rb_iseq_t *iseq); @@ -939,10 +939,10 @@ rb_iseq_new_with_opt(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE rea return iseq_translate(iseq); } -VALUE rb_iseq_compile_yarp_node(rb_iseq_t * iseq, const yp_node_t * yarp_pointer, yp_parser_t *parser); +VALUE rb_iseq_compile_prism_node(rb_iseq_t * iseq, const pm_node_t *node, pm_parser_t *parser); rb_iseq_t * -yp_iseq_new_with_opt(yp_node_t *node, yp_parser_t *parser, VALUE name, VALUE path, VALUE realpath, +pm_iseq_new_with_opt(pm_node_t *node, pm_parser_t *parser, VALUE name, VALUE path, VALUE realpath, int first_lineno, const rb_iseq_t *parent, int isolated_depth, enum rb_iseq_type type, const rb_compile_option_t *option) { @@ -953,17 +953,18 @@ yp_iseq_new_with_opt(yp_node_t *node, yp_parser_t *parser, VALUE name, VALUE pat if (!option) option = &COMPILE_OPTION_DEFAULT; if (node) { - yp_line_column_t start_line_col = yp_newline_list_line_column(&(parser->newline_list), node->location.start); - yp_line_column_t end_line_col= yp_newline_list_line_column(&(parser->newline_list), node->location.end); + pm_line_column_t start_line_col = pm_newline_list_line_column(&parser->newline_list, node->location.start); + pm_line_column_t end_line_col = pm_newline_list_line_column(&parser->newline_list, node->location.end); + code_loc = (rb_code_location_t) { .beg_pos = { - .lineno = (int)start_line_col.line, - .column = (int)start_line_col.column + .lineno = (int) start_line_col.line, + .column = (int) start_line_col.column + }, + .end_pos = { + .lineno = (int) end_line_col.line, + .column = (int) end_line_col.column }, - .end_pos = { - .lineno = (int)end_line_col.line, - .column = (int)end_line_col.column - }, }; } @@ -972,7 +973,7 @@ yp_iseq_new_with_opt(yp_node_t *node, yp_parser_t *parser, VALUE name, VALUE pat prepare_iseq_build(iseq, name, path, realpath, first_lineno, &code_loc, node_id, parent, isolated_depth, type, script_lines, option); - rb_iseq_compile_yarp_node(iseq, node, parser); + rb_iseq_compile_prism_node(iseq, node, parser); finish_iseq_build(iseq); @@ -1387,7 +1388,7 @@ iseqw_s_compile(int argc, VALUE *argv, VALUE self) } static VALUE -iseqw_s_compile_yarp(int argc, VALUE *argv, VALUE self) +iseqw_s_compile_prism(int argc, VALUE *argv, VALUE self) { VALUE src, file = Qnil, path = Qnil, line = Qnil, opt = Qnil; int i; @@ -1410,17 +1411,17 @@ iseqw_s_compile_yarp(int argc, VALUE *argv, VALUE self) rb_iseq_t *iseq = iseq_alloc(); - yp_parser_t parser; + pm_parser_t parser; size_t len = RSTRING_LEN(src); VALUE name = rb_fstring_lit(""); - yp_parser_init(&parser, (const uint8_t *) RSTRING_PTR(src), len, ""); + pm_parser_init(&parser, (const uint8_t *) RSTRING_PTR(src), len, ""); - yp_node_t *node = yp_parse(&parser); + pm_node_t *node = pm_parse(&parser); int first_lineno = NUM2INT(line); - yp_line_column_t start_loc = yp_newline_list_line_column(&parser.newline_list, node->location.start); - yp_line_column_t end_loc = yp_newline_list_line_column(&parser.newline_list, node->location.end); + pm_line_column_t start_loc = pm_newline_list_line_column(&parser.newline_list, node->location.start); + pm_line_column_t end_loc = pm_newline_list_line_column(&parser.newline_list, node->location.end); rb_code_location_t node_location; node_location.beg_pos.lineno = (int)start_loc.line; @@ -1439,11 +1440,11 @@ iseqw_s_compile_yarp(int argc, VALUE *argv, VALUE self) prepare_iseq_build(iseq, name, file, path, first_lineno, &node_location, node_id, parent, 0, (enum rb_iseq_type)iseq_type, Qnil, &option); - rb_iseq_compile_yarp_node(iseq, node, &parser); + rb_iseq_compile_prism_node(iseq, node, &parser); finish_iseq_build(iseq); - yp_node_destroy(&parser, node); - yp_parser_free(&parser); + pm_node_destroy(&parser, node); + pm_parser_free(&parser); return iseqw_new(iseq); } @@ -4020,7 +4021,7 @@ Init_ISeq(void) (void)iseq_s_load; rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1); - rb_define_singleton_method(rb_cISeq, "compile_yarp", iseqw_s_compile_yarp, -1); + rb_define_singleton_method(rb_cISeq, "compile_prism", iseqw_s_compile_prism, -1); rb_define_singleton_method(rb_cISeq, "new", iseqw_s_compile, -1); rb_define_singleton_method(rb_cISeq, "compile_file", iseqw_s_compile_file, -1); rb_define_singleton_method(rb_cISeq, "compile_option", iseqw_s_compile_option_get, 0); diff --git a/lib/prism/language_server.rb b/lib/prism/language_server.rb deleted file mode 100644 index 5a10d484a1..0000000000 --- a/lib/prism/language_server.rb +++ /dev/null @@ -1,166 +0,0 @@ -# frozen_string_literal: true - -require "cgi" -require "json" -require "uri" - -module YARP - # YARP additionally ships with a language server conforming to the - # language server protocol. It can be invoked by running the yarp-lsp - # bin script (bin/yarp-lsp) - class LanguageServer - GITHUB_TEMPLATE = <<~TEMPLATE - Reporting issue with error `%{error}`. - - ## Expected behavior - - - ## Actual behavior - - - ## Steps to reproduce the problem - - - ## Additional information - - - TEMPLATE - - attr_reader :input, :output - - def initialize( - input: $stdin, - output: $stdout - ) - @input = input.binmode - @output = output.binmode - end - - # rubocop:disable Layout/LineLength - def run - store = - Hash.new do |hash, uri| - filepath = CGI.unescape(URI.parse(uri).path) - File.exist?(filepath) ? (hash[uri] = File.read(filepath)) : nil - end - - while (headers = input.gets("\r\n\r\n")) - source = input.read(headers[/Content-Length: (\d+)/i, 1].to_i) - request = JSON.parse(source, symbolize_names: true) - - # stree-ignore - case request - in { method: "initialize", id: } - store.clear - write(id: id, result: { capabilities: capabilities }) - in { method: "initialized" } - # ignored - in { method: "shutdown" } # tolerate missing ID to be a good citizen - store.clear - write(id: request[:id], result: {}) - in { method: "exit"} - return - in { method: "textDocument/didChange", params: { textDocument: { uri: }, contentChanges: [{ text: }, *] } } - store[uri] = text - in { method: "textDocument/didOpen", params: { textDocument: { uri:, text: } } } - store[uri] = text - in { method: "textDocument/didClose", params: { textDocument: { uri: } } } - store.delete(uri) - in { method: "textDocument/diagnostic", id:, params: { textDocument: { uri: } } } - contents = store[uri] - write(id: id, result: contents ? diagnostics(contents) : nil) - in { method: "textDocument/codeAction", id:, params: { textDocument: { uri: }, context: { diagnostics: }}} - contents = store[uri] - write(id: id, result: contents ? code_actions(contents, diagnostics) : nil) - in { method: %r{\$/.+} } - # ignored - end - end - end - # rubocop:enable Layout/LineLength - - private - - def capabilities - { - codeActionProvider: { - codeActionKinds: [ - 'quickfix', - ], - }, - diagnosticProvider: { - interFileDependencies: false, - workspaceDiagnostics: false, - }, - textDocumentSync: { - change: 1, - openClose: true - }, - } - end - - def code_actions(source, diagnostics) - diagnostics.map do |diagnostic| - message = diagnostic[:message] - issue_content = URI.encode_www_form_component(GITHUB_TEMPLATE % {error: message}) - issue_link = "https://github.com/ruby/yarp/issues/new?&labels=Bug&body=#{issue_content}" - - { - title: "Report incorrect error: `#{diagnostic[:message]}`", - kind: "quickfix", - diagnostics: [diagnostic], - command: { - title: "Report incorrect error", - command: "vscode.open", - arguments: [issue_link] - } - } - end - end - - def diagnostics(source) - offsets = Hash.new do |hash, key| - slice = source.byteslice(...key) - lineno = slice.count("\n") - - char = slice.length - newline = source.rindex("\n", [char - 1, 0].max) || -1 - hash[key] = { line: lineno, character: char - newline - 1 } - end - - parse_output = YARP.parse(source) - - { - kind: "full", - items: [ - *parse_output.errors.map do |error| - { - range: { - start: offsets[error.location.start_offset], - end: offsets[error.location.end_offset], - }, - message: error.message, - severity: 1, - } - end, - *parse_output.warnings.map do |warning| - { - range: { - start: offsets[warning.location.start_offset], - end: offsets[warning.location.end_offset], - }, - message: warning.message, - severity: 2, - } - end, - ] - } - end - - def write(value) - response = value.merge(jsonrpc: "2.0").to_json - output.print("Content-Length: #{response.bytesize}\r\n\r\n#{response}") - output.flush - end - end -end diff --git a/lib/prism/version.rb b/lib/prism/version.rb deleted file mode 100644 index e450bfb526..0000000000 --- a/lib/prism/version.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -module YARP - VERSION = "0.8.0" -end diff --git a/prism/prism_compiler.c b/prism/prism_compiler.c index 4b3e6ec11b..56f0907f6f 100644 --- a/prism/prism_compiler.c +++ b/prism/prism_compiler.c @@ -1,45 +1,45 @@ -#include "yarp.h" +#include "prism.h" #define OLD_ISEQ NEW_ISEQ #undef NEW_ISEQ #define NEW_ISEQ(node, name, type, line_no) \ - yp_new_child_iseq(iseq, (node), parser, rb_fstring(name), 0, (type), (line_no)) + pm_new_child_iseq(iseq, (node), parser, rb_fstring(name), 0, (type), (line_no)) #define OLD_CHILD_ISEQ NEW_CHILD_ISEQ #undef NEW_CHILD_ISEQ #define NEW_CHILD_ISEQ(node, name, type, line_no) \ - yp_new_child_iseq(iseq, (node), parser, rb_fstring(name), iseq, (type), (line_no)) + pm_new_child_iseq(iseq, (node), parser, rb_fstring(name), iseq, (type), (line_no)) -#define YP_COMPILE(node) \ - yp_compile_node(iseq, (node), ret, src, popped, compile_context) +#define PM_COMPILE(node) \ + pm_compile_node(iseq, (node), ret, src, popped, compile_context) -#define YP_COMPILE_POPPED(node) \ - yp_compile_node(iseq, (node), ret, src, true, compile_context) +#define PM_COMPILE_POPPED(node) \ + pm_compile_node(iseq, (node), ret, src, true, compile_context) -#define YP_COMPILE_NOT_POPPED(node) \ - yp_compile_node(iseq, (node), ret, src, false, compile_context) +#define PM_COMPILE_NOT_POPPED(node) \ + pm_compile_node(iseq, (node), ret, src, false, compile_context) -#define YP_POP_IF_POPPED \ +#define PM_POP_IF_POPPED \ if (popped) ADD_INSN(ret, &dummy_line_node, pop); -#define YP_POP_UNLESS_POPPED \ +#define PM_POP_UNLESS_POPPED \ if (!popped) ADD_INSN(ret, &dummy_line_node, pop); -#define YP_DUP_UNLESS_POPPED \ +#define PM_DUP_UNLESS_POPPED \ if (!popped) ADD_INSN(ret, &dummy_line_node, dup); -#define YP_PUTNIL_UNLESS_POPPED \ +#define PM_PUTNIL_UNLESS_POPPED \ if (!popped) ADD_INSN(ret, &dummy_line_node, putnil); rb_iseq_t * -yp_iseq_new_with_opt(yp_scope_node_t *node, yp_parser_t *parser, VALUE name, VALUE path, VALUE realpath, +pm_iseq_new_with_opt(pm_scope_node_t *node, pm_parser_t *parser, VALUE name, VALUE path, VALUE realpath, int first_lineno, const rb_iseq_t *parent, int isolated_depth, enum rb_iseq_type type, const rb_compile_option_t *option); static VALUE -parse_integer(const yp_integer_node_t *node) +parse_integer(const pm_integer_node_t *node) { const char *start = (const char *) node->base.location.start; const char *end = (const char *) node->base.location.end; @@ -47,17 +47,17 @@ parse_integer(const yp_integer_node_t *node) size_t length = end - start; int base = -10; - switch (node->base.flags & (YP_INTEGER_BASE_FLAGS_BINARY | YP_INTEGER_BASE_FLAGS_DECIMAL | YP_INTEGER_BASE_FLAGS_OCTAL | YP_INTEGER_BASE_FLAGS_HEXADECIMAL)) { - case YP_INTEGER_BASE_FLAGS_BINARY: + switch (node->base.flags & (PM_INTEGER_BASE_FLAGS_BINARY | PM_INTEGER_BASE_FLAGS_DECIMAL | PM_INTEGER_BASE_FLAGS_OCTAL | PM_INTEGER_BASE_FLAGS_HEXADECIMAL)) { + case PM_INTEGER_BASE_FLAGS_BINARY: base = 2; break; - case YP_INTEGER_BASE_FLAGS_DECIMAL: + case PM_INTEGER_BASE_FLAGS_DECIMAL: base = 10; break; - case YP_INTEGER_BASE_FLAGS_OCTAL: + case PM_INTEGER_BASE_FLAGS_OCTAL: base = 8; break; - case YP_INTEGER_BASE_FLAGS_HEXADECIMAL: + case PM_INTEGER_BASE_FLAGS_HEXADECIMAL: base = 16; break; default: @@ -68,7 +68,7 @@ parse_integer(const yp_integer_node_t *node) } static VALUE -parse_float(const yp_node_t *node) +parse_float(const pm_node_t *node) { const uint8_t *start = node->location.start; const uint8_t *end = node->location.end; @@ -85,14 +85,14 @@ parse_float(const yp_node_t *node) } static VALUE -parse_rational(const yp_node_t *node) +parse_rational(const pm_node_t *node) { const uint8_t *start = node->location.start; const uint8_t *end = node->location.end - 1; size_t length = end - start; VALUE res; - if (YP_NODE_TYPE_P(((yp_rational_node_t *)node)->numeric, YP_FLOAT_NODE)) { + if (PM_NODE_TYPE_P(((pm_rational_node_t *)node)->numeric, PM_FLOAT_NODE)) { char *buffer = malloc(length + 1); memcpy(buffer, start, length); @@ -110,7 +110,7 @@ parse_rational(const yp_node_t *node) free(buffer); } else { - RUBY_ASSERT(YP_NODE_TYPE_P(((yp_rational_node_t *)node)->numeric, YP_INTEGER_NODE)); + RUBY_ASSERT(PM_NODE_TYPE_P(((pm_rational_node_t *)node)->numeric, PM_INTEGER_NODE)); VALUE number = rb_int_parse_cstr((const char *)start, length, NULL, NULL, -10, RB_INT_PARSE_DEFAULT); res = rb_rational_raw(number, INT2FIX(1)); } @@ -119,19 +119,19 @@ parse_rational(const yp_node_t *node) } static VALUE -parse_imaginary(yp_imaginary_node_t *node) +parse_imaginary(pm_imaginary_node_t *node) { VALUE imaginary_part; - switch (YP_NODE_TYPE(node->numeric)) { - case YP_FLOAT_NODE: { + switch (PM_NODE_TYPE(node->numeric)) { + case PM_FLOAT_NODE: { imaginary_part = parse_float(node->numeric); break; } - case YP_INTEGER_NODE: { - imaginary_part = parse_integer((yp_integer_node_t *) node->numeric); + case PM_INTEGER_NODE: { + imaginary_part = parse_integer((pm_integer_node_t *) node->numeric); break; } - case YP_RATIONAL_NODE: { + case PM_RATIONAL_NODE: { imaginary_part = parse_rational(node->numeric); break; } @@ -143,9 +143,9 @@ parse_imaginary(yp_imaginary_node_t *node) } static inline VALUE -parse_string(yp_string_t *string) +parse_string(pm_string_t *string) { - return rb_str_new((const char *) yp_string_source(string), yp_string_length(string)); + return rb_str_new((const char *) pm_string_source(string), pm_string_length(string)); } static inline ID @@ -155,53 +155,53 @@ parse_symbol(const uint8_t *start, const uint8_t *end) } static inline ID -parse_string_symbol(yp_string_t *string) { - const uint8_t *start = yp_string_source(string); - return parse_symbol(start, start + yp_string_length(string)); +parse_string_symbol(pm_string_t *string) { + const uint8_t *start = pm_string_source(string); + return parse_symbol(start, start + pm_string_length(string)); } static inline ID -parse_location_symbol(yp_location_t *location) { +parse_location_symbol(pm_location_t *location) { return parse_symbol(location->start, location->end); } static int -yp_optimizable_range_item_p(yp_node_t *node) +pm_optimizable_range_item_p(pm_node_t *node) { - return (!node || YP_NODE_TYPE_P(node, YP_INTEGER_NODE) || YP_NODE_TYPE_P(node, YP_NIL_NODE)); + return (!node || PM_NODE_TYPE_P(node, PM_INTEGER_NODE) || PM_NODE_TYPE_P(node, PM_NIL_NODE)); } /** * Certain nodes can be compiled literally, which can lead to further - * optimizations. These nodes will all have the YP_NODE_FLAG_STATIC_LITERAL flag + * optimizations. These nodes will all have the PM_NODE_FLAG_STATIC_LITERAL flag * set. */ static inline bool -yp_static_node_literal_p(yp_node_t *node) { - return node->flags & YP_NODE_FLAG_STATIC_LITERAL; +pm_static_node_literal_p(pm_node_t *node) { + return node->flags & PM_NODE_FLAG_STATIC_LITERAL; } static inline VALUE -yp_static_literal_value(yp_node_t *node) +pm_static_literal_value(pm_node_t *node) { - switch(YP_NODE_TYPE(node)) { - case YP_FALSE_NODE: + switch(PM_NODE_TYPE(node)) { + case PM_FALSE_NODE: return Qfalse; - case YP_FLOAT_NODE: + case PM_FLOAT_NODE: return parse_float(node); - case YP_IMAGINARY_NODE: - return parse_imaginary((yp_imaginary_node_t *)node); - case YP_INTEGER_NODE: - return parse_integer((yp_integer_node_t *) node); - case YP_NIL_NODE: + case PM_IMAGINARY_NODE: + return parse_imaginary((pm_imaginary_node_t *)node); + case PM_INTEGER_NODE: + return parse_integer((pm_integer_node_t *) node); + case PM_NIL_NODE: return Qnil; - case YP_RATIONAL_NODE: + case PM_RATIONAL_NODE: return parse_rational(node); - case YP_STRING_NODE: - return parse_string(&((yp_string_node_t *)node)->unescaped); - case YP_SYMBOL_NODE: - return ID2SYM(parse_string_symbol(&((yp_symbol_node_t *)node)->unescaped)); - case YP_TRUE_NODE: + case PM_STRING_NODE: + return parse_string(&((pm_string_node_t *)node)->unescaped); + case PM_SYMBOL_NODE: + return ID2SYM(parse_string_symbol(&((pm_symbol_node_t *)node)->unescaped)); + case PM_TRUE_NODE: return Qtrue; // TODO: Implement this method for the other literal nodes described above default: @@ -211,16 +211,16 @@ yp_static_literal_value(yp_node_t *node) } static void -yp_compile_branch_condition(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const yp_node_t *cond, - LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, yp_compile_context_t *compile_context); +pm_compile_branch_condition(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const pm_node_t *cond, + LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, pm_compile_context_t *compile_context); static void -yp_compile_logical(rb_iseq_t *iseq, LINK_ANCHOR *const ret, yp_node_t *cond, - LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) +pm_compile_logical(rb_iseq_t *iseq, LINK_ANCHOR *const ret, pm_node_t *cond, + LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { - yp_parser_t *parser = compile_context->parser; - yp_newline_list_t newline_list = parser->newline_list; - int lineno = (int)yp_newline_list_line_column(&newline_list, cond->location.start).line; + pm_parser_t *parser = compile_context->parser; + pm_newline_list_t newline_list = parser->newline_list; + int lineno = (int)pm_newline_list_line_column(&newline_list, cond->location.start).line; NODE dummy_line_node = generate_dummy_line_node(lineno, lineno); DECL_ANCHOR(seq); @@ -229,7 +229,7 @@ yp_compile_logical(rb_iseq_t *iseq, LINK_ANCHOR *const ret, yp_node_t *cond, if (!then_label) then_label = label; else if (!else_label) else_label = label; - yp_compile_branch_condition(iseq, seq, cond, then_label, else_label, src, popped, compile_context); + pm_compile_branch_condition(iseq, seq, cond, then_label, else_label, src, popped, compile_context); if (LIST_INSN_SIZE_ONE(seq)) { INSN *insn = (INSN *)ELEM_FIRST_INSN(FIRST_ELEMENT(seq)); @@ -246,44 +246,44 @@ yp_compile_logical(rb_iseq_t *iseq, LINK_ANCHOR *const ret, yp_node_t *cond, return; } -static void yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, yp_compile_context_t *context); +static void pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, pm_compile_context_t *context); static void -yp_compile_branch_condition(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const yp_node_t *cond, - LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) +pm_compile_branch_condition(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const pm_node_t *cond, + LABEL *then_label, LABEL *else_label, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { - yp_parser_t *parser = compile_context->parser; - yp_newline_list_t newline_list = parser->newline_list; - int lineno = (int) yp_newline_list_line_column(&newline_list, cond->location.start).line; + pm_parser_t *parser = compile_context->parser; + pm_newline_list_t newline_list = parser->newline_list; + int lineno = (int) pm_newline_list_line_column(&newline_list, cond->location.start).line; NODE dummy_line_node = generate_dummy_line_node(lineno, lineno); again: - switch (YP_NODE_TYPE(cond)) { - case YP_AND_NODE: { - yp_and_node_t *and_node = (yp_and_node_t *)cond; - yp_compile_logical(iseq, ret, and_node->left, NULL, else_label, src, popped, compile_context); + switch (PM_NODE_TYPE(cond)) { + case PM_AND_NODE: { + pm_and_node_t *and_node = (pm_and_node_t *)cond; + pm_compile_logical(iseq, ret, and_node->left, NULL, else_label, src, popped, compile_context); cond = and_node->right; goto again; } - case YP_OR_NODE: { - yp_or_node_t *or_node = (yp_or_node_t *)cond; - yp_compile_logical(iseq, ret, or_node->left, then_label, NULL, src, popped, compile_context); + case PM_OR_NODE: { + pm_or_node_t *or_node = (pm_or_node_t *)cond; + pm_compile_logical(iseq, ret, or_node->left, then_label, NULL, src, popped, compile_context); cond = or_node->right; goto again; } - case YP_FALSE_NODE: - case YP_NIL_NODE: + case PM_FALSE_NODE: + case PM_NIL_NODE: ADD_INSNL(ret, &dummy_line_node, jump, else_label); return; - case YP_FLOAT_NODE: - case YP_IMAGINARY_NODE: - case YP_INTEGER_NODE: - case YP_LAMBDA_NODE: - case YP_RATIONAL_NODE: - case YP_REGULAR_EXPRESSION_NODE: - case YP_STRING_NODE: - case YP_SYMBOL_NODE: - case YP_TRUE_NODE: + case PM_FLOAT_NODE: + case PM_IMAGINARY_NODE: + case PM_INTEGER_NODE: + case PM_LAMBDA_NODE: + case PM_RATIONAL_NODE: + case PM_REGULAR_EXPRESSION_NODE: + case PM_STRING_NODE: + case PM_SYMBOL_NODE: + case PM_TRUE_NODE: ADD_INSNL(ret, &dummy_line_node, jump, then_label); return; // TODO: Several more nodes in this case statement @@ -292,7 +292,7 @@ again: DECL_ANCHOR(cond_seq); INIT_ANCHOR(cond_seq); - yp_compile_node(iseq, cond, cond_seq, src, false, compile_context); + pm_compile_node(iseq, cond, cond_seq, src, false, compile_context); ADD_SEQ(ret, cond_seq); } break; @@ -303,7 +303,7 @@ again: } static void -yp_compile_if(rb_iseq_t *iseq, const int line, yp_statements_node_t *node_body, yp_node_t *node_else, yp_node_t *predicate, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) { +pm_compile_if(rb_iseq_t *iseq, const int line, pm_statements_node_t *node_body, pm_node_t *node_else, pm_node_t *predicate, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { NODE dummy_line_node = generate_dummy_line_node(line, line); DECL_ANCHOR(cond_seq); @@ -315,7 +315,7 @@ yp_compile_if(rb_iseq_t *iseq, const int line, yp_statements_node_t *node_body, else_label = NEW_LABEL(line); end_label = 0; - yp_compile_branch_condition(iseq, cond_seq, predicate, then_label, else_label, src, popped, compile_context); + pm_compile_branch_condition(iseq, cond_seq, predicate, then_label, else_label, src, popped, compile_context); ADD_SEQ(ret, cond_seq); if (then_label->refcnt) { @@ -324,17 +324,17 @@ yp_compile_if(rb_iseq_t *iseq, const int line, yp_statements_node_t *node_body, DECL_ANCHOR(then_seq); INIT_ANCHOR(then_seq); if (node_body) { - yp_compile_node(iseq, (yp_node_t *)node_body, then_seq, src, popped, compile_context); - YP_POP_IF_POPPED; + pm_compile_node(iseq, (pm_node_t *)node_body, then_seq, src, popped, compile_context); + PM_POP_IF_POPPED; } else { - YP_PUTNIL_UNLESS_POPPED; + PM_PUTNIL_UNLESS_POPPED; } if (else_label->refcnt) { end_label = NEW_LABEL(line); ADD_INSNL(then_seq, &dummy_line_node, jump, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; } ADD_SEQ(ret, then_seq); } @@ -345,10 +345,10 @@ yp_compile_if(rb_iseq_t *iseq, const int line, yp_statements_node_t *node_body, DECL_ANCHOR(else_seq); INIT_ANCHOR(else_seq); if (node_else) { - yp_compile_node(iseq, (yp_node_t *)(((yp_else_node_t *)node_else)->statements), else_seq, src, popped, compile_context); + pm_compile_node(iseq, (pm_node_t *)(((pm_else_node_t *)node_else)->statements), else_seq, src, popped, compile_context); } else { - YP_PUTNIL_UNLESS_POPPED; + PM_PUTNIL_UNLESS_POPPED; } ADD_SEQ(ret, else_seq); @@ -362,7 +362,7 @@ yp_compile_if(rb_iseq_t *iseq, const int line, yp_statements_node_t *node_body, } static void -yp_compile_while(rb_iseq_t *iseq, int lineno, yp_node_flags_t flags, enum yp_node_type type, yp_statements_node_t *statements, yp_node_t *predicate, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) +pm_compile_while(rb_iseq_t *iseq, int lineno, pm_node_flags_t flags, enum pm_node_type type, pm_statements_node_t *statements, pm_node_t *predicate, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { NODE dummy_line_node = generate_dummy_line_node(lineno, lineno); @@ -381,7 +381,7 @@ yp_compile_while(rb_iseq_t *iseq, int lineno, yp_node_flags_t flags, enum yp_nod LABEL *tmp_label = NULL; // begin; end while true - if (flags & YP_LOOP_FLAGS_BEGIN_MODIFIER) { + if (flags & PM_LOOP_FLAGS_BEGIN_MODIFIER) { tmp_label = NEW_LABEL(lineno); ADD_INSNL(ret, &dummy_line_node, jump, tmp_label); } @@ -399,15 +399,15 @@ yp_compile_while(rb_iseq_t *iseq, int lineno, yp_node_flags_t flags, enum yp_nod ADD_LABEL(ret, redo_label); if (statements) { - YP_COMPILE_POPPED((yp_node_t *)statements); + PM_COMPILE_POPPED((pm_node_t *)statements); } ADD_LABEL(ret, next_label); - if (type == YP_WHILE_NODE) { - yp_compile_branch_condition(iseq, ret, predicate, redo_label, end_label, src, popped, compile_context); - } else if (type == YP_UNTIL_NODE) { - yp_compile_branch_condition(iseq, ret, predicate, end_label, redo_label, src, popped, compile_context); + if (type == PM_WHILE_NODE) { + pm_compile_branch_condition(iseq, ret, predicate, redo_label, end_label, src, popped, compile_context); + } else if (type == PM_UNTIL_NODE) { + pm_compile_branch_condition(iseq, ret, predicate, end_label, redo_label, src, popped, compile_context); } ADD_LABEL(ret, end_label); @@ -417,7 +417,7 @@ yp_compile_while(rb_iseq_t *iseq, int lineno, yp_node_flags_t flags, enum yp_nod ADD_LABEL(ret, break_label); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; ADD_CATCH_ENTRY(CATCH_TYPE_BREAK, redo_label, break_label, NULL, break_label); @@ -433,20 +433,20 @@ yp_compile_while(rb_iseq_t *iseq, int lineno, yp_node_flags_t flags, enum yp_nod } static void -yp_interpolated_node_compile(yp_node_list_t parts, rb_iseq_t *iseq, NODE dummy_line_node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) +pm_interpolated_node_compile(pm_node_list_t parts, rb_iseq_t *iseq, NODE dummy_line_node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { size_t parts_size = parts.size; if (parts_size > 0) { for (size_t index = 0; index < parts_size; index++) { - yp_node_t *part = parts.nodes[index]; + pm_node_t *part = parts.nodes[index]; - if (YP_NODE_TYPE_P(part, YP_STRING_NODE)) { - yp_string_node_t *string_node = (yp_string_node_t *) part; + if (PM_NODE_TYPE_P(part, PM_STRING_NODE)) { + pm_string_node_t *string_node = (pm_string_node_t *) part; ADD_INSN1(ret, &dummy_line_node, putobject, parse_string(&string_node->unescaped)); } else { - YP_COMPILE_NOT_POPPED(part); + PM_COMPILE_NOT_POPPED(part); ADD_INSN(ret, &dummy_line_node, dup); ADD_INSN1(ret, &dummy_line_node, objtostring, new_callinfo(iseq, idTo_s, 0, VM_CALL_FCALL | VM_CALL_ARGS_SIMPLE , NULL, FALSE)); ADD_INSN(ret, &dummy_line_node, anytostring); @@ -458,7 +458,7 @@ yp_interpolated_node_compile(yp_node_list_t parts, rb_iseq_t *iseq, NODE dummy_l } } static int -yp_lookup_local_index(rb_iseq_t *iseq, yp_compile_context_t *compile_context, yp_constant_id_t constant_id) +pm_lookup_local_index(rb_iseq_t *iseq, pm_compile_context_t *compile_context, pm_constant_id_t constant_id) { st_data_t local_index; @@ -472,35 +472,35 @@ yp_lookup_local_index(rb_iseq_t *iseq, yp_compile_context_t *compile_context, yp } static int -yp_lookup_local_index_with_depth(rb_iseq_t *iseq, yp_compile_context_t *compile_context, yp_constant_id_t constant_id, uint32_t depth) +pm_lookup_local_index_with_depth(rb_iseq_t *iseq, pm_compile_context_t *compile_context, pm_constant_id_t constant_id, uint32_t depth) { for(uint32_t i = 0; i < depth; i++) { compile_context = compile_context->previous; iseq = (rb_iseq_t *)ISEQ_BODY(iseq)->parent_iseq; } - return yp_lookup_local_index(iseq, compile_context, constant_id); + return pm_lookup_local_index(iseq, compile_context, constant_id); } -// This returns the CRuby ID which maps to the yp_constant_id_t +// This returns the CRuby ID which maps to the pm_constant_id_t // -// Constant_ids in YARP are indexes of the constants in YARP's constant pool. +// Constant_ids in prism are indexes of the constants in prism's constant pool. // We add a constants mapping on the compile_context which is a mapping from // these constant_id indexes to the CRuby IDs that they represent. // This helper method allows easy access to those IDs static ID -yp_constant_id_lookup(yp_compile_context_t *compile_context, yp_constant_id_t constant_id) +pm_constant_id_lookup(pm_compile_context_t *compile_context, pm_constant_id_t constant_id) { return compile_context->constants[constant_id - 1]; } static rb_iseq_t * -yp_new_child_iseq(rb_iseq_t *iseq, yp_scope_node_t * node, yp_parser_t *parser, +pm_new_child_iseq(rb_iseq_t *iseq, pm_scope_node_t * node, pm_parser_t *parser, VALUE name, const rb_iseq_t *parent, enum rb_iseq_type type, int line_no) { debugs("[new_child_iseq]> ---------------------------------------\n"); int isolated_depth = ISEQ_COMPILE_DATA(iseq)->isolated_depth; - rb_iseq_t * ret_iseq = yp_iseq_new_with_opt(node, parser, name, + rb_iseq_t * ret_iseq = pm_iseq_new_with_opt(node, parser, name, rb_iseq_path(iseq), rb_iseq_realpath(iseq), line_no, parent, isolated_depth ? isolated_depth + 1 : 0, @@ -510,13 +510,13 @@ yp_new_child_iseq(rb_iseq_t *iseq, yp_scope_node_t * node, yp_parser_t *parser, } static int -yp_compile_class_path(LINK_ANCHOR *const ret, rb_iseq_t *iseq, const yp_node_t *constant_path_node, const NODE *line_node, const uint8_t * src, bool popped, yp_compile_context_t *compile_context) +pm_compile_class_path(LINK_ANCHOR *const ret, rb_iseq_t *iseq, const pm_node_t *constant_path_node, const NODE *line_node, const uint8_t * src, bool popped, pm_compile_context_t *compile_context) { - if (YP_NODE_TYPE_P(constant_path_node, YP_CONSTANT_PATH_NODE)) { - yp_node_t *parent = ((yp_constant_path_node_t *)constant_path_node)->parent; + if (PM_NODE_TYPE_P(constant_path_node, PM_CONSTANT_PATH_NODE)) { + pm_node_t *parent = ((pm_constant_path_node_t *)constant_path_node)->parent; if (parent) { /* Bar::Foo */ - YP_COMPILE(parent); + PM_COMPILE(parent); return VM_DEFINECLASS_FLAG_SCOPED; } else { @@ -541,40 +541,40 @@ yp_compile_class_path(LINK_ANCHOR *const ret, rb_iseq_t *iseq, const yp_node_t * * path). */ static uint8_t -yp_compile_multi_write_lhs(rb_iseq_t *iseq, NODE dummy_line_node, const yp_node_t *node, LINK_ANCHOR *const ret, yp_compile_context_t *compile_context, uint8_t pushed, bool nested) { - switch (YP_NODE_TYPE(node)) { - case YP_MULTI_TARGET_NODE: { - yp_multi_target_node_t *cast = (yp_multi_target_node_t *) node; +pm_compile_multi_write_lhs(rb_iseq_t *iseq, NODE dummy_line_node, const pm_node_t *node, LINK_ANCHOR *const ret, pm_compile_context_t *compile_context, uint8_t pushed, bool nested) { + switch (PM_NODE_TYPE(node)) { + case PM_MULTI_TARGET_NODE: { + pm_multi_target_node_t *cast = (pm_multi_target_node_t *) node; for (size_t index = 0; index < cast->targets.size; index++) { - pushed = yp_compile_multi_write_lhs(iseq, dummy_line_node, cast->targets.nodes[index], ret, compile_context, pushed, false); + pushed = pm_compile_multi_write_lhs(iseq, dummy_line_node, cast->targets.nodes[index], ret, compile_context, pushed, false); } break; } - case YP_CONSTANT_PATH_TARGET_NODE: { - yp_constant_path_target_node_t *cast = (yp_constant_path_target_node_t *)node; + case PM_CONSTANT_PATH_TARGET_NODE: { + pm_constant_path_target_node_t *cast = (pm_constant_path_target_node_t *)node; if (cast->parent) { ADD_INSN(ret, &dummy_line_node, putnil); - pushed = yp_compile_multi_write_lhs(iseq, dummy_line_node, cast->parent, ret, compile_context, pushed, false); + pushed = pm_compile_multi_write_lhs(iseq, dummy_line_node, cast->parent, ret, compile_context, pushed, false); } else { ADD_INSN1(ret, &dummy_line_node, putobject, rb_cObject); } break; } - case YP_CONSTANT_PATH_NODE: { - yp_constant_path_node_t *cast = (yp_constant_path_node_t *) node; + case PM_CONSTANT_PATH_NODE: { + pm_constant_path_node_t *cast = (pm_constant_path_node_t *) node; if (cast->parent) { - pushed = yp_compile_multi_write_lhs(iseq, dummy_line_node, cast->parent, ret, compile_context, pushed, false); + pushed = pm_compile_multi_write_lhs(iseq, dummy_line_node, cast->parent, ret, compile_context, pushed, false); } else { ADD_INSN(ret, &dummy_line_node, pop); ADD_INSN1(ret, &dummy_line_node, putobject, rb_cObject); } - pushed = yp_compile_multi_write_lhs(iseq, dummy_line_node, cast->child, ret, compile_context, pushed, cast->parent); + pushed = pm_compile_multi_write_lhs(iseq, dummy_line_node, cast->child, ret, compile_context, pushed, cast->parent); break; } - case YP_CONSTANT_READ_NODE: { - yp_constant_read_node_t *cast = (yp_constant_read_node_t *) node; + case PM_CONSTANT_READ_NODE: { + pm_constant_read_node_t *cast = (pm_constant_read_node_t *) node; ADD_INSN1(ret, &dummy_line_node, putobject, RBOOL(!nested)); - ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(yp_constant_id_lookup(compile_context, cast->name))); + ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(pm_constant_id_lookup(compile_context, cast->name))); pushed = pushed + 2; break; } @@ -586,73 +586,73 @@ yp_compile_multi_write_lhs(rb_iseq_t *iseq, NODE dummy_line_node, const yp_node_ } /* - * Compiles a YARP node into instruction sequences + * Compiles a prism node into instruction sequences * * iseq - The current instruction sequence object (used for locals) - * node - The yarp node to compile + * node - The prism node to compile * ret - The linked list of instruction sequences to append instructions onto * popped - True if compiling something with no side effects, so instructions don't * need to be added * compile_context - Stores parser and local information */ static void -yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, yp_compile_context_t *compile_context) +pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, const uint8_t *src, bool popped, pm_compile_context_t *compile_context) { - yp_parser_t *parser = compile_context->parser; - yp_newline_list_t newline_list = parser->newline_list; - int lineno = (int)yp_newline_list_line_column(&newline_list, node->location.start).line; + pm_parser_t *parser = compile_context->parser; + pm_newline_list_t newline_list = parser->newline_list; + int lineno = (int)pm_newline_list_line_column(&newline_list, node->location.start).line; NODE dummy_line_node = generate_dummy_line_node(lineno, lineno); - switch (YP_NODE_TYPE(node)) { - case YP_ALIAS_METHOD_NODE: { - yp_alias_method_node_t *alias_node = (yp_alias_method_node_t *) node; + switch (PM_NODE_TYPE(node)) { + case PM_ALIAS_METHOD_NODE: { + pm_alias_method_node_t *alias_node = (pm_alias_method_node_t *) node; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_VMCORE)); ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CBASE)); - YP_COMPILE_NOT_POPPED(alias_node->new_name); - YP_COMPILE_NOT_POPPED(alias_node->old_name); + PM_COMPILE_NOT_POPPED(alias_node->new_name); + PM_COMPILE_NOT_POPPED(alias_node->old_name); ADD_SEND(ret, &dummy_line_node, id_core_set_method_alias, INT2FIX(3)); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_AND_NODE: { - yp_and_node_t *and_node = (yp_and_node_t *) node; + case PM_AND_NODE: { + pm_and_node_t *and_node = (pm_and_node_t *) node; LABEL *end_label = NEW_LABEL(lineno); - YP_COMPILE_NOT_POPPED(and_node->left); - YP_DUP_UNLESS_POPPED; + PM_COMPILE_NOT_POPPED(and_node->left); + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; - YP_COMPILE(and_node->right); + PM_POP_UNLESS_POPPED; + PM_COMPILE(and_node->right); ADD_LABEL(ret, end_label); return; } - case YP_ARGUMENTS_NODE: { - yp_arguments_node_t *arguments_node = (yp_arguments_node_t *) node; - yp_node_list_t node_list = arguments_node->arguments; + case PM_ARGUMENTS_NODE: { + pm_arguments_node_t *arguments_node = (pm_arguments_node_t *) node; + pm_node_list_t node_list = arguments_node->arguments; for (size_t index = 0; index < node_list.size; index++) { - YP_COMPILE(node_list.nodes[index]); + PM_COMPILE(node_list.nodes[index]); } return; } - case YP_ARRAY_NODE: { - yp_array_node_t *array_node = (yp_array_node_t *) node; - yp_node_list_t elements = array_node->elements; - if (elements.size == 1 && yp_static_node_literal_p(elements.nodes[0]) && !popped) { + case PM_ARRAY_NODE: { + pm_array_node_t *array_node = (pm_array_node_t *) node; + pm_node_list_t elements = array_node->elements; + if (elements.size == 1 && pm_static_node_literal_p(elements.nodes[0]) && !popped) { VALUE ary = rb_ary_hidden_new(1); - rb_ary_push(ary, yp_static_literal_value(elements.nodes[0])); + rb_ary_push(ary, pm_static_literal_value(elements.nodes[0])); OBJ_FREEZE(ary); ADD_INSN1(ret, &dummy_line_node, duparray, ary); } else { for (size_t index = 0; index < elements.size; index++) { - YP_COMPILE(elements.nodes[index]); + PM_COMPILE(elements.nodes[index]); } if (!popped) { @@ -662,25 +662,25 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_ASSOC_NODE: { - yp_assoc_node_t *assoc_node = (yp_assoc_node_t *) node; - YP_COMPILE(assoc_node->key); + case PM_ASSOC_NODE: { + pm_assoc_node_t *assoc_node = (pm_assoc_node_t *) node; + PM_COMPILE(assoc_node->key); if (assoc_node->value) { - YP_COMPILE(assoc_node->value); + PM_COMPILE(assoc_node->value); } return; } - case YP_ASSOC_SPLAT_NODE: { - yp_assoc_splat_node_t *assoc_splat_node = (yp_assoc_splat_node_t *)node; - YP_COMPILE(assoc_splat_node->value); + case PM_ASSOC_SPLAT_NODE: { + pm_assoc_splat_node_t *assoc_splat_node = (pm_assoc_splat_node_t *)node; + PM_COMPILE(assoc_splat_node->value); // TODO: Not sure this is accurate, look at FLUSH_CHUNK in the compiler ADD_INSN1(ret, &dummy_line_node, newarraykwsplat, INT2FIX(0)); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_BACK_REFERENCE_READ_NODE: { + case PM_BACK_REFERENCE_READ_NODE: { if (!popped) { // Since a back reference is `$`, ruby represents the ID as the // an rb_intern on the value after the `$`. @@ -690,25 +690,25 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_BEGIN_NODE: { - yp_begin_node_t *begin_node = (yp_begin_node_t *) node; + case PM_BEGIN_NODE: { + pm_begin_node_t *begin_node = (pm_begin_node_t *) node; if (begin_node->statements) { - YP_COMPILE((yp_node_t *)begin_node->statements); + PM_COMPILE((pm_node_t *)begin_node->statements); } else { ADD_INSN(ret, &dummy_line_node, putnil); } return; } - case YP_BLOCK_ARGUMENT_NODE: { - yp_block_argument_node_t *block_argument_node = (yp_block_argument_node_t *) node; - YP_COMPILE(block_argument_node->expression); + case PM_BLOCK_ARGUMENT_NODE: { + pm_block_argument_node_t *block_argument_node = (pm_block_argument_node_t *) node; + PM_COMPILE(block_argument_node->expression); return; } - case YP_BREAK_NODE: { - yp_break_node_t *break_node = (yp_break_node_t *) node; + case PM_BREAK_NODE: { + pm_break_node_t *break_node = (pm_break_node_t *) node; if (break_node->arguments) { - YP_COMPILE_NOT_POPPED((yp_node_t *)break_node->arguments); + PM_COMPILE_NOT_POPPED((pm_node_t *)break_node->arguments); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -718,8 +718,8 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CALL_NODE: { - yp_call_node_t *call_node = (yp_call_node_t *) node; + case PM_CALL_NODE: { + pm_call_node_t *call_node = (pm_call_node_t *) node; ID method_id = parse_string_symbol(&call_node->name); int flags = 0; @@ -728,7 +728,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, if (call_node->receiver == NULL) { ADD_INSN(ret, &dummy_line_node, putself); } else { - YP_COMPILE_NOT_POPPED(call_node->receiver); + PM_COMPILE_NOT_POPPED(call_node->receiver); } if (call_node->arguments == NULL) { @@ -736,28 +736,28 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, flags |= VM_CALL_VCALL; } } else { - yp_arguments_node_t *arguments = call_node->arguments; - YP_COMPILE_NOT_POPPED((yp_node_t *) arguments); + pm_arguments_node_t *arguments = call_node->arguments; + PM_COMPILE_NOT_POPPED((pm_node_t *) arguments); orig_argc = (int)arguments->arguments.size; } VALUE block_iseq = Qnil; - if (call_node->block != NULL && YP_NODE_TYPE_P(call_node->block, YP_BLOCK_NODE)) { + if (call_node->block != NULL && PM_NODE_TYPE_P(call_node->block, PM_BLOCK_NODE)) { // Scope associated with the block - yp_scope_node_t scope_node; - yp_scope_node_init(call_node->block, &scope_node); + pm_scope_node_t scope_node; + pm_scope_node_init(call_node->block, &scope_node); const rb_iseq_t *block_iseq = NEW_CHILD_ISEQ(&scope_node, make_name_for_block(iseq), ISEQ_TYPE_BLOCK, lineno); ISEQ_COMPILE_DATA(iseq)->current_block = block_iseq; ADD_SEND_WITH_BLOCK(ret, &dummy_line_node, method_id, INT2FIX(orig_argc), block_iseq); } else { - if (node->flags & YP_CALL_NODE_FLAGS_VARIABLE_CALL) { + if (node->flags & PM_CALL_NODE_FLAGS_VARIABLE_CALL) { flags |= VM_CALL_VCALL; } if (call_node->block != NULL) { - YP_COMPILE_NOT_POPPED(call_node->block); + PM_COMPILE_NOT_POPPED(call_node->block); flags |= VM_CALL_ARGS_BLOCKARG; } @@ -771,15 +771,15 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(orig_argc), INT2FIX(flags)); } - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_CLASS_NODE: { - yp_class_node_t *class_node = (yp_class_node_t *)node; - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)class_node, &scope_node); + case PM_CLASS_NODE: { + pm_class_node_t *class_node = (pm_class_node_t *)node; + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)class_node, &scope_node); - ID class_id = yp_constant_id_lookup(compile_context, class_node->name); + ID class_id = pm_constant_id_lookup(compile_context, class_node->name); VALUE class_name = rb_str_freeze(rb_sprintf("", rb_id2str(class_id))); @@ -788,10 +788,10 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, // TODO: Once we merge constant path nodes correctly, fix this flag const int flags = VM_DEFINECLASS_TYPE_CLASS | (class_node->superclass ? VM_DEFINECLASS_FLAG_HAS_SUPERCLASS : 0) | - yp_compile_class_path(ret, iseq, class_node->constant_path, &dummy_line_node, src, false, compile_context); + pm_compile_class_path(ret, iseq, class_node->constant_path, &dummy_line_node, src, false, compile_context); if (class_node->superclass) { - YP_COMPILE(class_node->superclass); + PM_COMPILE(class_node->superclass); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -800,30 +800,30 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN3(ret, &dummy_line_node, defineclass, ID2SYM(class_id), class_iseq, INT2FIX(flags)); RB_OBJ_WRITTEN(iseq, Qundef, (VALUE)class_iseq); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_CLASS_VARIABLE_AND_WRITE_NODE: { - yp_class_variable_and_write_node_t *class_variable_and_write_node = (yp_class_variable_and_write_node_t*) node; + case PM_CLASS_VARIABLE_AND_WRITE_NODE: { + pm_class_variable_and_write_node_t *class_variable_and_write_node = (pm_class_variable_and_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - ID class_variable_name_id = yp_constant_id_lookup(compile_context, class_variable_and_write_node->name); + ID class_variable_name_id = pm_constant_id_lookup(compile_context, class_variable_and_write_node->name); VALUE class_variable_name_val = ID2SYM(class_variable_name_id); ADD_INSN2(ret, &dummy_line_node, getclassvariable, class_variable_name_val, get_cvar_ic_value(iseq, class_variable_name_id)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(class_variable_and_write_node->value); + PM_COMPILE_NOT_POPPED(class_variable_and_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setclassvariable, class_variable_name_val, @@ -832,23 +832,23 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CLASS_VARIABLE_OPERATOR_WRITE_NODE: { - yp_class_variable_operator_write_node_t *class_variable_operator_write_node = (yp_class_variable_operator_write_node_t*) node; + case PM_CLASS_VARIABLE_OPERATOR_WRITE_NODE: { + pm_class_variable_operator_write_node_t *class_variable_operator_write_node = (pm_class_variable_operator_write_node_t*) node; - ID class_variable_name_id = yp_constant_id_lookup(compile_context, class_variable_operator_write_node->name); + ID class_variable_name_id = pm_constant_id_lookup(compile_context, class_variable_operator_write_node->name); VALUE class_variable_name_val = ID2SYM(class_variable_name_id); ADD_INSN2(ret, &dummy_line_node, getclassvariable, class_variable_name_val, get_cvar_ic_value(iseq, class_variable_name_id)); - YP_COMPILE_NOT_POPPED(class_variable_operator_write_node->value); - ID method_id = yp_constant_id_lookup(compile_context, class_variable_operator_write_node->operator); + PM_COMPILE_NOT_POPPED(class_variable_operator_write_node->value); + ID method_id = pm_constant_id_lookup(compile_context, class_variable_operator_write_node->operator); int flags = VM_CALL_ARGS_SIMPLE; ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(1), INT2FIX(flags)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setclassvariable, class_variable_name_val, @@ -856,27 +856,27 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CLASS_VARIABLE_OR_WRITE_NODE: { - yp_class_variable_or_write_node_t *class_variable_or_write_node = (yp_class_variable_or_write_node_t*) node; + case PM_CLASS_VARIABLE_OR_WRITE_NODE: { + pm_class_variable_or_write_node_t *class_variable_or_write_node = (pm_class_variable_or_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - ID class_variable_name_id = yp_constant_id_lookup(compile_context, class_variable_or_write_node->name); + ID class_variable_name_id = pm_constant_id_lookup(compile_context, class_variable_or_write_node->name); VALUE class_variable_name_val = ID2SYM(class_variable_name_id); ADD_INSN2(ret, &dummy_line_node, getclassvariable, class_variable_name_val, get_cvar_ic_value(iseq, class_variable_name_id)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(class_variable_or_write_node->value); + PM_COMPILE_NOT_POPPED(class_variable_or_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setclassvariable, class_variable_name_val, @@ -885,10 +885,10 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CLASS_VARIABLE_READ_NODE: { + case PM_CLASS_VARIABLE_READ_NODE: { if (!popped) { - yp_class_variable_read_node_t *class_variable_read_node = (yp_class_variable_read_node_t *) node; - ID cvar_name = yp_constant_id_lookup(compile_context, class_variable_read_node->name); + pm_class_variable_read_node_t *class_variable_read_node = (pm_class_variable_read_node_t *) node; + ID cvar_name = pm_constant_id_lookup(compile_context, class_variable_read_node->name); ADD_INSN2( ret, &dummy_line_node, @@ -899,46 +899,46 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_CLASS_VARIABLE_TARGET_NODE: { - yp_class_variable_target_node_t *write_node = (yp_class_variable_target_node_t *) node; - ID cvar_name = yp_constant_id_lookup(compile_context, write_node->name); + case PM_CLASS_VARIABLE_TARGET_NODE: { + pm_class_variable_target_node_t *write_node = (pm_class_variable_target_node_t *) node; + ID cvar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN2(ret, &dummy_line_node, setclassvariable, ID2SYM(cvar_name), get_cvar_ic_value(iseq, cvar_name)); return; } - case YP_CLASS_VARIABLE_WRITE_NODE: { - yp_class_variable_write_node_t *write_node = (yp_class_variable_write_node_t *) node; - YP_COMPILE_NOT_POPPED(write_node->value); - YP_DUP_UNLESS_POPPED; + case PM_CLASS_VARIABLE_WRITE_NODE: { + pm_class_variable_write_node_t *write_node = (pm_class_variable_write_node_t *) node; + PM_COMPILE_NOT_POPPED(write_node->value); + PM_DUP_UNLESS_POPPED; - ID cvar_name = yp_constant_id_lookup(compile_context, write_node->name); + ID cvar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN2(ret, &dummy_line_node, setclassvariable, ID2SYM(cvar_name), get_cvar_ic_value(iseq, cvar_name)); return; } - case YP_CONSTANT_PATH_NODE: { - yp_constant_path_node_t *constant_path_node = (yp_constant_path_node_t*) node; + case PM_CONSTANT_PATH_NODE: { + pm_constant_path_node_t *constant_path_node = (pm_constant_path_node_t*) node; if (constant_path_node->parent) { - YP_COMPILE_NOT_POPPED(constant_path_node->parent); + PM_COMPILE_NOT_POPPED(constant_path_node->parent); } ADD_INSN1(ret, &dummy_line_node, putobject, Qfalse); - assert(YP_NODE_TYPE_P(constant_path_node->child, YP_CONSTANT_READ_NODE)); - yp_constant_read_node_t *child = (yp_constant_read_node_t *) constant_path_node->child; + assert(PM_NODE_TYPE_P(constant_path_node->child, PM_CONSTANT_READ_NODE)); + pm_constant_read_node_t *child = (pm_constant_read_node_t *) constant_path_node->child; - ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(yp_constant_id_lookup(compile_context, child->name))); - YP_POP_IF_POPPED; + ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(pm_constant_id_lookup(compile_context, child->name))); + PM_POP_IF_POPPED; return; } - case YP_CONSTANT_PATH_TARGET_NODE: { - yp_constant_path_target_node_t *cast = (yp_constant_path_target_node_t *)node; + case PM_CONSTANT_PATH_TARGET_NODE: { + pm_constant_path_target_node_t *cast = (pm_constant_path_target_node_t *)node; - YP_COMPILE(cast->parent); + PM_COMPILE(cast->parent); return; } - case YP_CONSTANT_PATH_WRITE_NODE: { - yp_constant_path_write_node_t *constant_path_write_node = (yp_constant_path_write_node_t*) node; - YP_COMPILE(constant_path_write_node->value); - YP_DUP_UNLESS_POPPED; + case PM_CONSTANT_PATH_WRITE_NODE: { + pm_constant_path_write_node_t *constant_path_write_node = (pm_constant_path_write_node_t*) node; + PM_COMPILE(constant_path_write_node->value); + PM_DUP_UNLESS_POPPED; ID constant_var_name = parse_location_symbol(&constant_path_write_node->target->base.location); @@ -946,33 +946,33 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(constant_var_name)); return; } - case YP_CONSTANT_READ_NODE: { - yp_constant_read_node_t *constant_read_node = (yp_constant_read_node_t *) node; + case PM_CONSTANT_READ_NODE: { + pm_constant_read_node_t *constant_read_node = (pm_constant_read_node_t *) node; ADD_INSN(ret, &dummy_line_node, putnil); ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); - ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(yp_constant_id_lookup(compile_context, constant_read_node->name))); - YP_POP_IF_POPPED; + ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(pm_constant_id_lookup(compile_context, constant_read_node->name))); + PM_POP_IF_POPPED; return; } - case YP_CONSTANT_AND_WRITE_NODE: { - yp_constant_and_write_node_t *constant_and_write_node = (yp_constant_and_write_node_t*) node; + case PM_CONSTANT_AND_WRITE_NODE: { + pm_constant_and_write_node_t *constant_and_write_node = (pm_constant_and_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - VALUE constant_name = ID2SYM(yp_constant_id_lookup(compile_context, constant_and_write_node->name)); + VALUE constant_name = ID2SYM(pm_constant_id_lookup(compile_context, constant_and_write_node->name)); ADD_INSN(ret, &dummy_line_node, putnil); ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); ADD_INSN1(ret, &dummy_line_node, getconstant, constant_name); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(constant_and_write_node->value); + PM_COMPILE_NOT_POPPED(constant_and_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); ADD_INSN1(ret, &dummy_line_node, setconstant, constant_name); @@ -980,35 +980,35 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CONSTANT_OPERATOR_WRITE_NODE: { - yp_constant_operator_write_node_t *constant_operator_write_node = (yp_constant_operator_write_node_t*) node; + case PM_CONSTANT_OPERATOR_WRITE_NODE: { + pm_constant_operator_write_node_t *constant_operator_write_node = (pm_constant_operator_write_node_t*) node; - ID constant_name = yp_constant_id_lookup(compile_context, constant_operator_write_node->name); + ID constant_name = pm_constant_id_lookup(compile_context, constant_operator_write_node->name); ADD_INSN(ret, &dummy_line_node, putnil); ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); ADD_INSN1(ret, &dummy_line_node, getconstant, ID2SYM(constant_name)); - YP_COMPILE_NOT_POPPED(constant_operator_write_node->value); - ID method_id = yp_constant_id_lookup(compile_context, constant_operator_write_node->operator); + PM_COMPILE_NOT_POPPED(constant_operator_write_node->value); + ID method_id = pm_constant_id_lookup(compile_context, constant_operator_write_node->operator); int flags = VM_CALL_ARGS_SIMPLE; ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(1), INT2FIX(flags)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(constant_name)); return; } - case YP_CONSTANT_OR_WRITE_NODE: { - yp_constant_or_write_node_t *constant_or_write_node = (yp_constant_or_write_node_t*) node; + case PM_CONSTANT_OR_WRITE_NODE: { + pm_constant_or_write_node_t *constant_or_write_node = (pm_constant_or_write_node_t*) node; LABEL *set_label= NEW_LABEL(lineno); LABEL *end_label = NEW_LABEL(lineno); ADD_INSN(ret, &dummy_line_node, putnil); - VALUE constant_name = ID2SYM(yp_constant_id_lookup(compile_context, constant_or_write_node->name)); + VALUE constant_name = ID2SYM(pm_constant_id_lookup(compile_context, constant_or_write_node->name)); ADD_INSN3(ret, &dummy_line_node, defined, INT2FIX(DEFINED_CONST), constant_name, Qtrue); @@ -1018,16 +1018,16 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); ADD_INSN1(ret, &dummy_line_node, getconstant, constant_name); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; ADD_LABEL(ret, set_label); - YP_COMPILE_NOT_POPPED(constant_or_write_node->value); + PM_COMPILE_NOT_POPPED(constant_or_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); ADD_INSN1(ret, &dummy_line_node, setconstant, constant_name); @@ -1035,27 +1035,27 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_CONSTANT_TARGET_NODE: { - yp_constant_target_node_t *constant_write_node = (yp_constant_target_node_t *) node; + case PM_CONSTANT_TARGET_NODE: { + pm_constant_target_node_t *constant_write_node = (pm_constant_target_node_t *) node; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); - ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(yp_constant_id_lookup(compile_context, constant_write_node->name))); + ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(pm_constant_id_lookup(compile_context, constant_write_node->name))); return; } - case YP_CONSTANT_WRITE_NODE: { - yp_constant_write_node_t *constant_write_node = (yp_constant_write_node_t *) node; - YP_COMPILE_NOT_POPPED(constant_write_node->value); + case PM_CONSTANT_WRITE_NODE: { + pm_constant_write_node_t *constant_write_node = (pm_constant_write_node_t *) node; + PM_COMPILE_NOT_POPPED(constant_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); - ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(yp_constant_id_lookup(compile_context, constant_write_node->name))); + ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(pm_constant_id_lookup(compile_context, constant_write_node->name))); return; } - case YP_DEF_NODE: { - yp_def_node_t *def_node = (yp_def_node_t *) node; - ID method_name = yp_constant_id_lookup(compile_context, def_node->name); - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)def_node, &scope_node); + case PM_DEF_NODE: { + pm_def_node_t *def_node = (pm_def_node_t *) node; + ID method_name = pm_constant_id_lookup(compile_context, def_node->name); + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)def_node, &scope_node); rb_iseq_t *method_iseq = NEW_ISEQ(&scope_node, rb_id2str(method_name), ISEQ_TYPE_METHOD, lineno); ADD_INSN2(ret, &dummy_line_node, definemethod, ID2SYM(method_name), method_iseq); @@ -1066,47 +1066,47 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_DEFINED_NODE: { + case PM_DEFINED_NODE: { ADD_INSN(ret, &dummy_line_node, putself); - yp_defined_node_t *defined_node = (yp_defined_node_t *)node; + pm_defined_node_t *defined_node = (pm_defined_node_t *)node; // TODO: Correct defined_type enum defined_type dtype = DEFINED_CONST; VALUE sym = Qnil; - if (YP_NODE_TYPE_P(defined_node->value, YP_INTEGER_NODE)) { - sym = parse_integer((yp_integer_node_t *) defined_node->value); + if (PM_NODE_TYPE_P(defined_node->value, PM_INTEGER_NODE)) { + sym = parse_integer((pm_integer_node_t *) defined_node->value); } ADD_INSN3(ret, &dummy_line_node, defined, INT2FIX(dtype), sym, rb_iseq_defined_string(dtype)); return; } - case YP_EMBEDDED_STATEMENTS_NODE: { - yp_embedded_statements_node_t *embedded_statements_node = (yp_embedded_statements_node_t *)node; + case PM_EMBEDDED_STATEMENTS_NODE: { + pm_embedded_statements_node_t *embedded_statements_node = (pm_embedded_statements_node_t *)node; if (embedded_statements_node->statements) { - YP_COMPILE((yp_node_t *) (embedded_statements_node->statements)); + PM_COMPILE((pm_node_t *) (embedded_statements_node->statements)); } else { ADD_INSN(ret, &dummy_line_node, putnil); } - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; // TODO: Concatenate the strings that exist here return; } - case YP_EMBEDDED_VARIABLE_NODE: { - yp_embedded_variable_node_t *embedded_node = (yp_embedded_variable_node_t *)node; - YP_COMPILE(embedded_node->variable); + case PM_EMBEDDED_VARIABLE_NODE: { + pm_embedded_variable_node_t *embedded_node = (pm_embedded_variable_node_t *)node; + PM_COMPILE(embedded_node->variable); return; } - case YP_FALSE_NODE: + case PM_FALSE_NODE: if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, Qfalse); } return; - case YP_FLIP_FLOP_NODE: { + case PM_FLIP_FLOP_NODE: { // TODO: The labels here are wrong, figure out why..... - yp_flip_flop_node_t *flip_flop_node = (yp_flip_flop_node_t *)node; + pm_flip_flop_node_t *flip_flop_node = (pm_flip_flop_node_t *)node; LABEL *lend = NEW_LABEL(lineno); LABEL *then_label = NEW_LABEL(lineno); @@ -1121,7 +1121,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN2(ret, &dummy_line_node, getspecial, key, INT2FIX(0)); ADD_INSNL(ret, &dummy_line_node, branchif, lend); - YP_COMPILE(flip_flop_node->left); + PM_COMPILE(flip_flop_node->left); /* *flip == 0 */ ADD_INSNL(ret, &dummy_line_node, branchunless, else_label); ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); @@ -1132,7 +1132,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, /* *flip == 1 */ ADD_LABEL(ret, lend); - YP_COMPILE(flip_flop_node->right); + PM_COMPILE(flip_flop_node->right); ADD_INSNL(ret, &dummy_line_node, branchunless, then_label); ADD_INSN1(ret, &dummy_line_node, putobject, Qfalse); ADD_INSN1(ret, &dummy_line_node, setspecial, key); @@ -1145,62 +1145,62 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_LABEL(ret, lend); return; } - case YP_FLOAT_NODE: { + case PM_FLOAT_NODE: { if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, parse_float(node)); } return; } - case YP_GLOBAL_VARIABLE_AND_WRITE_NODE: { - yp_global_variable_and_write_node_t *global_variable_and_write_node = (yp_global_variable_and_write_node_t*) node; + case PM_GLOBAL_VARIABLE_AND_WRITE_NODE: { + pm_global_variable_and_write_node_t *global_variable_and_write_node = (pm_global_variable_and_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - VALUE global_variable_name = ID2SYM(yp_constant_id_lookup(compile_context, global_variable_and_write_node->name)); + VALUE global_variable_name = ID2SYM(pm_constant_id_lookup(compile_context, global_variable_and_write_node->name)); ADD_INSN1(ret, &dummy_line_node, getglobal, global_variable_name); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(global_variable_and_write_node->value); + PM_COMPILE_NOT_POPPED(global_variable_and_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, setglobal, global_variable_name); ADD_LABEL(ret, end_label); return; } - case YP_GLOBAL_VARIABLE_OPERATOR_WRITE_NODE: { - yp_global_variable_operator_write_node_t *global_variable_operator_write_node = (yp_global_variable_operator_write_node_t*) node; + case PM_GLOBAL_VARIABLE_OPERATOR_WRITE_NODE: { + pm_global_variable_operator_write_node_t *global_variable_operator_write_node = (pm_global_variable_operator_write_node_t*) node; - VALUE global_variable_name = ID2SYM(yp_constant_id_lookup(compile_context, global_variable_operator_write_node->name)); + VALUE global_variable_name = ID2SYM(pm_constant_id_lookup(compile_context, global_variable_operator_write_node->name)); ADD_INSN1(ret, &dummy_line_node, getglobal, global_variable_name); - YP_COMPILE_NOT_POPPED(global_variable_operator_write_node->value); - ID method_id = yp_constant_id_lookup(compile_context, global_variable_operator_write_node->operator); + PM_COMPILE_NOT_POPPED(global_variable_operator_write_node->value); + ID method_id = pm_constant_id_lookup(compile_context, global_variable_operator_write_node->operator); int flags = VM_CALL_ARGS_SIMPLE; ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(1), INT2FIX(flags)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, setglobal, global_variable_name); return; } - case YP_GLOBAL_VARIABLE_OR_WRITE_NODE: { - yp_global_variable_or_write_node_t *global_variable_or_write_node = (yp_global_variable_or_write_node_t*) node; + case PM_GLOBAL_VARIABLE_OR_WRITE_NODE: { + pm_global_variable_or_write_node_t *global_variable_or_write_node = (pm_global_variable_or_write_node_t*) node; LABEL *set_label= NEW_LABEL(lineno); LABEL *end_label = NEW_LABEL(lineno); ADD_INSN(ret, &dummy_line_node, putnil); - VALUE global_variable_name = ID2SYM(yp_constant_id_lookup(compile_context, global_variable_or_write_node->name)); + VALUE global_variable_name = ID2SYM(pm_constant_id_lookup(compile_context, global_variable_or_write_node->name)); ADD_INSN3(ret, &dummy_line_node, defined, INT2FIX(DEFINED_GVAR), global_variable_name, Qtrue); @@ -1208,54 +1208,54 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN1(ret, &dummy_line_node, getglobal, global_variable_name); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; ADD_LABEL(ret, set_label); - YP_COMPILE_NOT_POPPED(global_variable_or_write_node->value); + PM_COMPILE_NOT_POPPED(global_variable_or_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN1(ret, &dummy_line_node, setglobal, global_variable_name); ADD_LABEL(ret, end_label); return; } - case YP_GLOBAL_VARIABLE_READ_NODE: { - yp_global_variable_read_node_t *global_variable_read_node = (yp_global_variable_read_node_t *)node; - VALUE global_variable_name = ID2SYM(yp_constant_id_lookup(compile_context, global_variable_read_node->name)); + case PM_GLOBAL_VARIABLE_READ_NODE: { + pm_global_variable_read_node_t *global_variable_read_node = (pm_global_variable_read_node_t *)node; + VALUE global_variable_name = ID2SYM(pm_constant_id_lookup(compile_context, global_variable_read_node->name)); ADD_INSN1(ret, &dummy_line_node, getglobal, global_variable_name); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_GLOBAL_VARIABLE_TARGET_NODE: { - yp_global_variable_target_node_t *write_node = (yp_global_variable_target_node_t *) node; + case PM_GLOBAL_VARIABLE_TARGET_NODE: { + pm_global_variable_target_node_t *write_node = (pm_global_variable_target_node_t *) node; - ID ivar_name = yp_constant_id_lookup(compile_context, write_node->name); + ID ivar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN1(ret, &dummy_line_node, setglobal, ID2SYM(ivar_name)); return; } - case YP_GLOBAL_VARIABLE_WRITE_NODE: { - yp_global_variable_write_node_t *write_node = (yp_global_variable_write_node_t *) node; - YP_COMPILE_NOT_POPPED(write_node->value); - YP_DUP_UNLESS_POPPED; - ID ivar_name = yp_constant_id_lookup(compile_context, write_node->name); + case PM_GLOBAL_VARIABLE_WRITE_NODE: { + pm_global_variable_write_node_t *write_node = (pm_global_variable_write_node_t *) node; + PM_COMPILE_NOT_POPPED(write_node->value); + PM_DUP_UNLESS_POPPED; + ID ivar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN1(ret, &dummy_line_node, setglobal, ID2SYM(ivar_name)); return; } - case YP_HASH_NODE: { - yp_hash_node_t *hash_node = (yp_hash_node_t *) node; - yp_node_list_t elements = hash_node->elements; + case PM_HASH_NODE: { + pm_hash_node_t *hash_node = (pm_hash_node_t *) node; + pm_node_list_t elements = hash_node->elements; if (elements.size == 1) { - assert(YP_NODE_TYPE_P(elements.nodes[0], YP_ASSOC_NODE)); - yp_assoc_node_t *assoc_node = (yp_assoc_node_t *) elements.nodes[0]; + assert(PM_NODE_TYPE_P(elements.nodes[0], PM_ASSOC_NODE)); + pm_assoc_node_t *assoc_node = (pm_assoc_node_t *) elements.nodes[0]; - if (yp_static_node_literal_p(assoc_node->key) && - yp_static_node_literal_p(assoc_node->value)) { + if (pm_static_node_literal_p(assoc_node->key) && + pm_static_node_literal_p(assoc_node->value)) { VALUE hash = rb_hash_new_with_size(1); hash = rb_obj_hide(hash); OBJ_FREEZE(hash); @@ -1265,7 +1265,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } for (size_t index = 0; index < elements.size; index++) { - YP_COMPILE(elements.nodes[index]); + PM_COMPILE(elements.nodes[index]); } if (!popped) { @@ -1273,28 +1273,28 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_IF_NODE: { - const int line = (int)yp_newline_list_line_column(&(parser->newline_list), node->location.start).line; - yp_if_node_t *if_node = (yp_if_node_t *)node; - yp_statements_node_t *node_body = if_node->statements; - yp_node_t *node_else = if_node->consequent; - yp_node_t *predicate = if_node->predicate; + case PM_IF_NODE: { + const int line = (int)pm_newline_list_line_column(&(parser->newline_list), node->location.start).line; + pm_if_node_t *if_node = (pm_if_node_t *)node; + pm_statements_node_t *node_body = if_node->statements; + pm_node_t *node_else = if_node->consequent; + pm_node_t *predicate = if_node->predicate; - yp_compile_if(iseq, line, node_body, node_else, predicate, ret, src, popped, compile_context); + pm_compile_if(iseq, line, node_body, node_else, predicate, ret, src, popped, compile_context); return; } - case YP_IMAGINARY_NODE: { + case PM_IMAGINARY_NODE: { if (!popped) { - ADD_INSN1(ret, &dummy_line_node, putobject, parse_imaginary((yp_imaginary_node_t *)node)); + ADD_INSN1(ret, &dummy_line_node, putobject, parse_imaginary((pm_imaginary_node_t *)node)); } return; } - case YP_INSTANCE_VARIABLE_AND_WRITE_NODE: { - yp_instance_variable_and_write_node_t *instance_variable_and_write_node = (yp_instance_variable_and_write_node_t*) node; + case PM_INSTANCE_VARIABLE_AND_WRITE_NODE: { + pm_instance_variable_and_write_node_t *instance_variable_and_write_node = (pm_instance_variable_and_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - ID instance_variable_name_id = yp_constant_id_lookup(compile_context, instance_variable_and_write_node->name); + ID instance_variable_name_id = pm_constant_id_lookup(compile_context, instance_variable_and_write_node->name); VALUE instance_variable_name_val = ID2SYM(instance_variable_name_id); @@ -1302,15 +1302,15 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, instance_variable_name_val, get_ivar_ic_value(iseq, instance_variable_name_id)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(instance_variable_and_write_node->value); + PM_COMPILE_NOT_POPPED(instance_variable_and_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setinstancevariable, instance_variable_name_val, @@ -1319,23 +1319,23 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_INSTANCE_VARIABLE_OPERATOR_WRITE_NODE: { - yp_instance_variable_operator_write_node_t *instance_variable_operator_write_node = (yp_instance_variable_operator_write_node_t*) node; + case PM_INSTANCE_VARIABLE_OPERATOR_WRITE_NODE: { + pm_instance_variable_operator_write_node_t *instance_variable_operator_write_node = (pm_instance_variable_operator_write_node_t*) node; - ID instance_variable_name_id = yp_constant_id_lookup(compile_context, instance_variable_operator_write_node->name); + ID instance_variable_name_id = pm_constant_id_lookup(compile_context, instance_variable_operator_write_node->name); VALUE instance_variable_name_val = ID2SYM(instance_variable_name_id); ADD_INSN2(ret, &dummy_line_node, getinstancevariable, instance_variable_name_val, get_ivar_ic_value(iseq, instance_variable_name_id)); - YP_COMPILE_NOT_POPPED(instance_variable_operator_write_node->value); - ID method_id = yp_constant_id_lookup(compile_context, instance_variable_operator_write_node->operator); + PM_COMPILE_NOT_POPPED(instance_variable_operator_write_node->value); + ID method_id = pm_constant_id_lookup(compile_context, instance_variable_operator_write_node->operator); int flags = VM_CALL_ARGS_SIMPLE; ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(1), INT2FIX(flags)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setinstancevariable, instance_variable_name_val, @@ -1343,27 +1343,27 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_INSTANCE_VARIABLE_OR_WRITE_NODE: { - yp_instance_variable_or_write_node_t *instance_variable_or_write_node = (yp_instance_variable_or_write_node_t*) node; + case PM_INSTANCE_VARIABLE_OR_WRITE_NODE: { + pm_instance_variable_or_write_node_t *instance_variable_or_write_node = (pm_instance_variable_or_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - ID instance_variable_name_id = yp_constant_id_lookup(compile_context, instance_variable_or_write_node->name); + ID instance_variable_name_id = pm_constant_id_lookup(compile_context, instance_variable_or_write_node->name); VALUE instance_variable_name_val = ID2SYM(instance_variable_name_id); ADD_INSN2(ret, &dummy_line_node, getinstancevariable, instance_variable_name_val, get_ivar_ic_value(iseq, instance_variable_name_id)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(instance_variable_or_write_node->value); + PM_COMPILE_NOT_POPPED(instance_variable_or_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSN2(ret, &dummy_line_node, setinstancevariable, instance_variable_name_val, @@ -1372,68 +1372,68 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_INSTANCE_VARIABLE_READ_NODE: { + case PM_INSTANCE_VARIABLE_READ_NODE: { if (!popped) { - yp_instance_variable_read_node_t *instance_variable_read_node = (yp_instance_variable_read_node_t *) node; - ID ivar_name = yp_constant_id_lookup(compile_context, instance_variable_read_node->name); + pm_instance_variable_read_node_t *instance_variable_read_node = (pm_instance_variable_read_node_t *) node; + ID ivar_name = pm_constant_id_lookup(compile_context, instance_variable_read_node->name); ADD_INSN2(ret, &dummy_line_node, getinstancevariable, ID2SYM(ivar_name), get_ivar_ic_value(iseq, ivar_name)); } return; } - case YP_INSTANCE_VARIABLE_TARGET_NODE: { - yp_instance_variable_target_node_t *write_node = (yp_instance_variable_target_node_t *) node; + case PM_INSTANCE_VARIABLE_TARGET_NODE: { + pm_instance_variable_target_node_t *write_node = (pm_instance_variable_target_node_t *) node; - ID ivar_name = yp_constant_id_lookup(compile_context, write_node->name); + ID ivar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN2(ret, &dummy_line_node, setinstancevariable, ID2SYM(ivar_name), get_ivar_ic_value(iseq, ivar_name)); return; } - case YP_INSTANCE_VARIABLE_WRITE_NODE: { - yp_instance_variable_write_node_t *write_node = (yp_instance_variable_write_node_t *) node; - YP_COMPILE_NOT_POPPED(write_node->value); + case PM_INSTANCE_VARIABLE_WRITE_NODE: { + pm_instance_variable_write_node_t *write_node = (pm_instance_variable_write_node_t *) node; + PM_COMPILE_NOT_POPPED(write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; - ID ivar_name = yp_constant_id_lookup(compile_context, write_node->name); + ID ivar_name = pm_constant_id_lookup(compile_context, write_node->name); ADD_INSN2(ret, &dummy_line_node, setinstancevariable, ID2SYM(ivar_name), get_ivar_ic_value(iseq, ivar_name)); return; } - case YP_INTEGER_NODE: { + case PM_INTEGER_NODE: { if (!popped) { - ADD_INSN1(ret, &dummy_line_node, putobject, parse_integer((yp_integer_node_t *) node)); + ADD_INSN1(ret, &dummy_line_node, putobject, parse_integer((pm_integer_node_t *) node)); } return; } - case YP_INTERPOLATED_REGULAR_EXPRESSION_NODE: { - yp_interpolated_regular_expression_node_t *interp_regular_expression_node= (yp_interpolated_regular_expression_node_t *) node; - yp_interpolated_node_compile(interp_regular_expression_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); + case PM_INTERPOLATED_REGULAR_EXPRESSION_NODE: { + pm_interpolated_regular_expression_node_t *interp_regular_expression_node= (pm_interpolated_regular_expression_node_t *) node; + pm_interpolated_node_compile(interp_regular_expression_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); if (interp_regular_expression_node->parts.size > 1) { ADD_INSN2(ret, &dummy_line_node, toregexp, INT2FIX(0), INT2FIX((int)(interp_regular_expression_node->parts.size))); } - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_INTERPOLATED_STRING_NODE: { - yp_interpolated_string_node_t *interp_string_node = (yp_interpolated_string_node_t *) node; - yp_interpolated_node_compile(interp_string_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); + case PM_INTERPOLATED_STRING_NODE: { + pm_interpolated_string_node_t *interp_string_node = (pm_interpolated_string_node_t *) node; + pm_interpolated_node_compile(interp_string_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); size_t parts_size = interp_string_node->parts.size; if (parts_size > 1) { ADD_INSN1(ret, &dummy_line_node, concatstrings, INT2FIX((int)(parts_size))); } - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_INTERPOLATED_SYMBOL_NODE: { - yp_interpolated_symbol_node_t *interp_symbol_node = (yp_interpolated_symbol_node_t *) node; - yp_interpolated_node_compile(interp_symbol_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); + case PM_INTERPOLATED_SYMBOL_NODE: { + pm_interpolated_symbol_node_t *interp_symbol_node = (pm_interpolated_symbol_node_t *) node; + pm_interpolated_node_compile(interp_symbol_node->parts, iseq, dummy_line_node, ret, src, popped, compile_context); size_t parts_size = interp_symbol_node->parts.size; if (parts_size > 1) { @@ -1449,10 +1449,10 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_INTERPOLATED_X_STRING_NODE: { - yp_interpolated_x_string_node_t *interp_x_string_node = (yp_interpolated_x_string_node_t *) node; + case PM_INTERPOLATED_X_STRING_NODE: { + pm_interpolated_x_string_node_t *interp_x_string_node = (pm_interpolated_x_string_node_t *) node; ADD_INSN(ret, &dummy_line_node, putself); - yp_interpolated_node_compile(interp_x_string_node->parts, iseq, dummy_line_node, ret, src, false, compile_context); + pm_interpolated_node_compile(interp_x_string_node->parts, iseq, dummy_line_node, ret, src, false, compile_context); size_t parts_size = interp_x_string_node->parts.size; if (parts_size > 1) { @@ -1460,23 +1460,23 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } ADD_SEND_WITH_FLAG(ret, &dummy_line_node, idBackquote, INT2NUM(1), INT2FIX(VM_CALL_FCALL | VM_CALL_ARGS_SIMPLE)); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_KEYWORD_HASH_NODE: { - yp_keyword_hash_node_t *keyword_hash_node = (yp_keyword_hash_node_t *) node; - yp_node_list_t elements = keyword_hash_node->elements; + case PM_KEYWORD_HASH_NODE: { + pm_keyword_hash_node_t *keyword_hash_node = (pm_keyword_hash_node_t *) node; + pm_node_list_t elements = keyword_hash_node->elements; for (size_t index = 0; index < elements.size; index++) { - YP_COMPILE(elements.nodes[index]); + PM_COMPILE(elements.nodes[index]); } ADD_INSN1(ret, &dummy_line_node, newhash, INT2FIX(elements.size * 2)); return; } - case YP_LAMBDA_NODE: { - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)node, &scope_node); + case PM_LAMBDA_NODE: { + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)node, &scope_node); const rb_iseq_t *block = NEW_CHILD_ISEQ(&scope_node, make_name_for_block(iseq), ISEQ_TYPE_BLOCK, lineno); VALUE argc = INT2FIX(0); @@ -1485,57 +1485,57 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_CALL_WITH_BLOCK(ret, &dummy_line_node, idLambda, argc, block); RB_OBJ_WRITTEN(iseq, Qundef, (VALUE)block); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_LOCAL_VARIABLE_AND_WRITE_NODE: { - yp_local_variable_and_write_node_t *local_variable_and_write_node = (yp_local_variable_and_write_node_t*) node; + case PM_LOCAL_VARIABLE_AND_WRITE_NODE: { + pm_local_variable_and_write_node_t *local_variable_and_write_node = (pm_local_variable_and_write_node_t*) node; LABEL *end_label = NEW_LABEL(lineno); - yp_constant_id_t constant_id = local_variable_and_write_node->name; + pm_constant_id_t constant_id = local_variable_and_write_node->name; int depth = local_variable_and_write_node->depth; - int local_index = yp_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); + int local_index = pm_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); ADD_GETLOCAL(ret, &dummy_line_node, local_index, depth); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchunless, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; - YP_COMPILE_NOT_POPPED(local_variable_and_write_node->value); + PM_COMPILE_NOT_POPPED(local_variable_and_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_SETLOCAL(ret, &dummy_line_node, local_index, depth); ADD_LABEL(ret, end_label); return; } - case YP_LOCAL_VARIABLE_OPERATOR_WRITE_NODE: { - yp_local_variable_operator_write_node_t *local_variable_operator_write_node = (yp_local_variable_operator_write_node_t*) node; + case PM_LOCAL_VARIABLE_OPERATOR_WRITE_NODE: { + pm_local_variable_operator_write_node_t *local_variable_operator_write_node = (pm_local_variable_operator_write_node_t*) node; - yp_constant_id_t constant_id = local_variable_operator_write_node->name; + pm_constant_id_t constant_id = local_variable_operator_write_node->name; int depth = local_variable_operator_write_node->depth; - int local_index = yp_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); + int local_index = pm_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); ADD_GETLOCAL(ret, &dummy_line_node, local_index, depth); - YP_COMPILE_NOT_POPPED(local_variable_operator_write_node->value); - ID method_id = yp_constant_id_lookup(compile_context, local_variable_operator_write_node->operator); + PM_COMPILE_NOT_POPPED(local_variable_operator_write_node->value); + ID method_id = pm_constant_id_lookup(compile_context, local_variable_operator_write_node->operator); int flags = VM_CALL_ARGS_SIMPLE | VM_CALL_FCALL | VM_CALL_VCALL; ADD_SEND_WITH_FLAG(ret, &dummy_line_node, method_id, INT2NUM(1), INT2FIX(flags)); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_SETLOCAL(ret, &dummy_line_node, local_index, depth); return; } - case YP_LOCAL_VARIABLE_OR_WRITE_NODE: { - yp_local_variable_or_write_node_t *local_variable_or_write_node = (yp_local_variable_or_write_node_t*) node; + case PM_LOCAL_VARIABLE_OR_WRITE_NODE: { + pm_local_variable_or_write_node_t *local_variable_or_write_node = (pm_local_variable_or_write_node_t*) node; LABEL *set_label= NEW_LABEL(lineno); LABEL *end_label = NEW_LABEL(lineno); @@ -1543,99 +1543,99 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); ADD_INSNL(ret, &dummy_line_node, branchunless, set_label); - yp_constant_id_t constant_id = local_variable_or_write_node->name; + pm_constant_id_t constant_id = local_variable_or_write_node->name; int depth = local_variable_or_write_node->depth; - int local_index = yp_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); + int local_index = pm_lookup_local_index_with_depth(iseq, compile_context, constant_id, depth); ADD_GETLOCAL(ret, &dummy_line_node, local_index, depth); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; + PM_POP_UNLESS_POPPED; ADD_LABEL(ret, set_label); - YP_COMPILE_NOT_POPPED(local_variable_or_write_node->value); + PM_COMPILE_NOT_POPPED(local_variable_or_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_SETLOCAL(ret, &dummy_line_node, local_index, depth); ADD_LABEL(ret, end_label); return; } - case YP_LOCAL_VARIABLE_READ_NODE: { - yp_local_variable_read_node_t *local_read_node = (yp_local_variable_read_node_t *) node; + case PM_LOCAL_VARIABLE_READ_NODE: { + pm_local_variable_read_node_t *local_read_node = (pm_local_variable_read_node_t *) node; if (!popped) { - int index = yp_lookup_local_index(iseq, compile_context, local_read_node->name); + int index = pm_lookup_local_index(iseq, compile_context, local_read_node->name); ADD_GETLOCAL(ret, &dummy_line_node, index, local_read_node->depth); } return; } - case YP_LOCAL_VARIABLE_TARGET_NODE: { - yp_local_variable_target_node_t *local_write_node = (yp_local_variable_target_node_t *) node; + case PM_LOCAL_VARIABLE_TARGET_NODE: { + pm_local_variable_target_node_t *local_write_node = (pm_local_variable_target_node_t *) node; - yp_constant_id_t constant_id = local_write_node->name; - int index = yp_lookup_local_index(iseq, compile_context, constant_id); + pm_constant_id_t constant_id = local_write_node->name; + int index = pm_lookup_local_index(iseq, compile_context, constant_id); ADD_SETLOCAL(ret, &dummy_line_node, (int)index, local_write_node->depth); return; } - case YP_LOCAL_VARIABLE_WRITE_NODE: { - yp_local_variable_write_node_t *local_write_node = (yp_local_variable_write_node_t *) node; - YP_COMPILE_NOT_POPPED(local_write_node->value); + case PM_LOCAL_VARIABLE_WRITE_NODE: { + pm_local_variable_write_node_t *local_write_node = (pm_local_variable_write_node_t *) node; + PM_COMPILE_NOT_POPPED(local_write_node->value); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; - yp_constant_id_t constant_id = local_write_node->name; - int index = yp_lookup_local_index(iseq, compile_context, constant_id); + pm_constant_id_t constant_id = local_write_node->name; + int index = pm_lookup_local_index(iseq, compile_context, constant_id); ADD_SETLOCAL(ret, &dummy_line_node, (int)index, local_write_node->depth); return; } - case YP_MISSING_NODE: { - rb_bug("A yp_missing_node_t should not exist in YARP's AST."); + case PM_MISSING_NODE: { + rb_bug("A pm_missing_node_t should not exist in prism's AST."); return; } - case YP_MODULE_NODE: { - yp_module_node_t *module_node = (yp_module_node_t *)node; - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)module_node, &scope_node); + case PM_MODULE_NODE: { + pm_module_node_t *module_node = (pm_module_node_t *)node; + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)module_node, &scope_node); - ID module_id = yp_constant_id_lookup(compile_context, module_node->name); + ID module_id = pm_constant_id_lookup(compile_context, module_node->name); VALUE module_name = rb_str_freeze(rb_sprintf("", rb_id2str(module_id))); const rb_iseq_t *module_iseq = NEW_CHILD_ISEQ(&scope_node, module_name, ISEQ_TYPE_CLASS, lineno); const int flags = VM_DEFINECLASS_TYPE_MODULE | - yp_compile_class_path(ret, iseq, module_node->constant_path, &dummy_line_node, src, popped, compile_context); + pm_compile_class_path(ret, iseq, module_node->constant_path, &dummy_line_node, src, popped, compile_context); ADD_INSN(ret, &dummy_line_node, putnil); ADD_INSN3(ret, &dummy_line_node, defineclass, ID2SYM(module_id), module_iseq, INT2FIX(flags)); RB_OBJ_WRITTEN(iseq, Qundef, (VALUE)module_iseq); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_MULTI_TARGET_NODE: { - yp_multi_target_node_t *cast = (yp_multi_target_node_t *) node; + case PM_MULTI_TARGET_NODE: { + pm_multi_target_node_t *cast = (pm_multi_target_node_t *) node; for (size_t index = 0; index < cast->targets.size; index++) { - YP_COMPILE(cast->targets.nodes[index]); + PM_COMPILE(cast->targets.nodes[index]); } return; } - case YP_MULTI_WRITE_NODE: { - yp_multi_write_node_t *multi_write_node = (yp_multi_write_node_t *)node; - yp_node_list_t node_list = multi_write_node->targets; + case PM_MULTI_WRITE_NODE: { + pm_multi_write_node_t *multi_write_node = (pm_multi_write_node_t *)node; + pm_node_list_t node_list = multi_write_node->targets; // pre-process the left hand side of multi-assignments. uint8_t pushed = 0; for (size_t index = 0; index < node_list.size; index++) { - pushed = yp_compile_multi_write_lhs(iseq, dummy_line_node, node_list.nodes[index], ret, compile_context, pushed, false); + pushed = pm_compile_multi_write_lhs(iseq, dummy_line_node, node_list.nodes[index], ret, compile_context, pushed, false); } - YP_COMPILE_NOT_POPPED(multi_write_node->value); + PM_COMPILE_NOT_POPPED(multi_write_node->value); // TODO: int flag = 0x02 | (NODE_NAMED_REST_P(restn) ? 0x01 : 0x00); int flag = 0x00; @@ -1646,18 +1646,18 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN2(ret, &dummy_line_node, expandarray, INT2FIX(multi_write_node->targets.size), INT2FIX(flag)); for (size_t index = 0; index < node_list.size; index++) { - yp_node_t *considered_node = node_list.nodes[index]; + pm_node_t *considered_node = node_list.nodes[index]; - if (YP_NODE_TYPE_P(considered_node, YP_CONSTANT_PATH_TARGET_NODE) && pushed > 0) { - yp_constant_path_target_node_t *cast = (yp_constant_path_target_node_t *)considered_node; - ID name = yp_constant_id_lookup(compile_context, ((yp_constant_read_node_t * ) cast->child)->name); + if (PM_NODE_TYPE_P(considered_node, PM_CONSTANT_PATH_TARGET_NODE) && pushed > 0) { + pm_constant_path_target_node_t *cast = (pm_constant_path_target_node_t *)considered_node; + ID name = pm_constant_id_lookup(compile_context, ((pm_constant_read_node_t * ) cast->child)->name); pushed -= 2; ADD_INSN1(ret, &dummy_line_node, topn, INT2FIX(pushed)); ADD_INSN1(ret, &dummy_line_node, setconstant, ID2SYM(name)); } else { - YP_COMPILE(node_list.nodes[index]); + PM_COMPILE(node_list.nodes[index]); } } @@ -1670,10 +1670,10 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_NEXT_NODE: { - yp_next_node_t *next_node = (yp_next_node_t *) node; + case PM_NEXT_NODE: { + pm_next_node_t *next_node = (pm_next_node_t *) node; if (next_node->arguments) { - YP_COMPILE_NOT_POPPED((yp_node_t *)next_node->arguments); + PM_COMPILE_NOT_POPPED((pm_node_t *)next_node->arguments); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -1684,78 +1684,78 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_NIL_NODE: - YP_PUTNIL_UNLESS_POPPED + case PM_NIL_NODE: + PM_PUTNIL_UNLESS_POPPED return; - case YP_NUMBERED_REFERENCE_READ_NODE: { + case PM_NUMBERED_REFERENCE_READ_NODE: { if (!popped) { - uint32_t reference_number = ((yp_numbered_reference_read_node_t *)node)->number; + uint32_t reference_number = ((pm_numbered_reference_read_node_t *)node)->number; ADD_INSN2(ret, &dummy_line_node, getspecial, INT2FIX(1), INT2FIX(reference_number << 1)); } return; } - case YP_OR_NODE: { - yp_or_node_t *or_node = (yp_or_node_t *) node; + case PM_OR_NODE: { + pm_or_node_t *or_node = (pm_or_node_t *) node; LABEL *end_label = NEW_LABEL(lineno); - YP_COMPILE_NOT_POPPED(or_node->left); + PM_COMPILE_NOT_POPPED(or_node->left); - YP_DUP_UNLESS_POPPED; + PM_DUP_UNLESS_POPPED; ADD_INSNL(ret, &dummy_line_node, branchif, end_label); - YP_POP_UNLESS_POPPED; - YP_COMPILE(or_node->right); + PM_POP_UNLESS_POPPED; + PM_COMPILE(or_node->right); ADD_LABEL(ret, end_label); return; } - case YP_OPTIONAL_PARAMETER_NODE: { - yp_optional_parameter_node_t *optional_parameter_node = (yp_optional_parameter_node_t *)node; - YP_COMPILE_NOT_POPPED(optional_parameter_node->value); + case PM_OPTIONAL_PARAMETER_NODE: { + pm_optional_parameter_node_t *optional_parameter_node = (pm_optional_parameter_node_t *)node; + PM_COMPILE_NOT_POPPED(optional_parameter_node->value); - int index = yp_lookup_local_index(iseq, compile_context, optional_parameter_node->name); + int index = pm_lookup_local_index(iseq, compile_context, optional_parameter_node->name); ADD_SETLOCAL(ret, &dummy_line_node, index, 0); return; } - case YP_PARENTHESES_NODE: { - yp_parentheses_node_t *parentheses_node = (yp_parentheses_node_t *) node; + case PM_PARENTHESES_NODE: { + pm_parentheses_node_t *parentheses_node = (pm_parentheses_node_t *) node; if (parentheses_node->body == NULL) { - YP_PUTNIL_UNLESS_POPPED; + PM_PUTNIL_UNLESS_POPPED; } else { - YP_COMPILE(parentheses_node->body); + PM_COMPILE(parentheses_node->body); } return; } - case YP_PROGRAM_NODE: { - yp_program_node_t *program_node = (yp_program_node_t *) node; + case PM_PROGRAM_NODE: { + pm_program_node_t *program_node = (pm_program_node_t *) node; - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)node, &scope_node); + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)node, &scope_node); if (program_node->statements->body.size == 0) { ADD_INSN(ret, &dummy_line_node, putnil); ADD_INSN(ret, &dummy_line_node, leave); } else { - yp_scope_node_t *res_node = &scope_node; - YP_COMPILE((yp_node_t *) res_node); + pm_scope_node_t *res_node = &scope_node; + PM_COMPILE((pm_node_t *) res_node); } return; } - case YP_RANGE_NODE: { - yp_range_node_t *range_node = (yp_range_node_t *) node; + case PM_RANGE_NODE: { + pm_range_node_t *range_node = (pm_range_node_t *) node; bool exclusive = (range_node->operator_loc.end - range_node->operator_loc.start) == 3; - if (yp_optimizable_range_item_p(range_node->left) && yp_optimizable_range_item_p(range_node->right)) { + if (pm_optimizable_range_item_p(range_node->left) && pm_optimizable_range_item_p(range_node->right)) { if (!popped) { - yp_node_t *left = range_node->left; - yp_node_t *right = range_node->right; + pm_node_t *left = range_node->left; + pm_node_t *right = range_node->right; VALUE val = rb_range_new( - left && YP_NODE_TYPE_P(left, YP_INTEGER_NODE) ? parse_integer((yp_integer_node_t *) left) : Qnil, - right && YP_NODE_TYPE_P(right, YP_INTEGER_NODE) ? parse_integer((yp_integer_node_t *) right) : Qnil, + left && PM_NODE_TYPE_P(left, PM_INTEGER_NODE) ? parse_integer((pm_integer_node_t *) left) : Qnil, + right && PM_NODE_TYPE_P(right, PM_INTEGER_NODE) ? parse_integer((pm_integer_node_t *) right) : Qnil, exclusive ); ADD_INSN1(ret, &dummy_line_node, putobject, val); @@ -1766,13 +1766,13 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, if (range_node->left == NULL) { ADD_INSN(ret, &dummy_line_node, putnil); } else { - YP_COMPILE(range_node->left); + PM_COMPILE(range_node->left); } if (range_node->right == NULL) { ADD_INSN(ret, &dummy_line_node, putnil); } else { - YP_COMPILE(range_node->right); + PM_COMPILE(range_node->right); } if (!popped) { @@ -1781,31 +1781,31 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_RATIONAL_NODE: { + case PM_RATIONAL_NODE: { if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, parse_rational(node)); } return; } - case YP_REDO_NODE: { + case PM_REDO_NODE: { ADD_INSNL(ret, &dummy_line_node, jump, ISEQ_COMPILE_DATA(iseq)->redo_label); return; } - case YP_REGULAR_EXPRESSION_NODE: { + case PM_REGULAR_EXPRESSION_NODE: { if (!popped) { - yp_regular_expression_node_t *regular_expression_node = (yp_regular_expression_node_t *) node; + pm_regular_expression_node_t *regular_expression_node = (pm_regular_expression_node_t *) node; VALUE regex_str = parse_string(®ular_expression_node->unescaped); int flags = 0; - if (regular_expression_node->base.flags & YP_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE) { + if (regular_expression_node->base.flags & PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE) { flags |= ONIG_OPTION_IGNORECASE; } - if (regular_expression_node->base.flags & YP_REGULAR_EXPRESSION_FLAGS_MULTI_LINE) { + if (regular_expression_node->base.flags & PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE) { flags |= ONIG_OPTION_MULTILINE; } - if (regular_expression_node->base.flags & YP_REGULAR_EXPRESSION_FLAGS_EXTENDED) { + if (regular_expression_node->base.flags & PM_REGULAR_EXPRESSION_FLAGS_EXTENDED) { flags |= ONIG_OPTION_EXTEND; } @@ -1814,11 +1814,11 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_RETURN_NODE: { - yp_arguments_node_t *arguments = ((yp_return_node_t *)node)->arguments; + case PM_RETURN_NODE: { + pm_arguments_node_t *arguments = ((pm_return_node_t *)node)->arguments; if (arguments) { - YP_COMPILE((yp_node_t *)arguments); + PM_COMPILE((pm_node_t *)arguments); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -1832,13 +1832,13 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_SCOPE_NODE: { - yp_scope_node_t *scope_node = (yp_scope_node_t *)node; - yp_constant_id_list_t locals = scope_node->locals; + case PM_SCOPE_NODE: { + pm_scope_node_t *scope_node = (pm_scope_node_t *)node; + pm_constant_id_list_t locals = scope_node->locals; - yp_parameters_node_t *parameters_node = (yp_parameters_node_t *)scope_node->parameters; - yp_node_list_t requireds_list = YP_EMPTY_NODE_LIST; - yp_node_list_t optionals_list = YP_EMPTY_NODE_LIST; + pm_parameters_node_t *parameters_node = (pm_parameters_node_t *)scope_node->parameters; + pm_node_list_t requireds_list = PM_EMPTY_NODE_LIST; + pm_node_list_t optionals_list = PM_EMPTY_NODE_LIST; if (parameters_node) { requireds_list = parameters_node->requireds; @@ -1857,13 +1857,13 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, // First param gets 0, second param 1, param n... // Calculate the local index for all locals for (size_t i = 0; i < size; i++) { - yp_constant_id_t constant_id = locals.ids[i]; - ID local = yp_constant_id_lookup(compile_context, constant_id); + pm_constant_id_t constant_id = locals.ids[i]; + ID local = pm_constant_id_lookup(compile_context, constant_id); tbl->ids[i] = local; st_insert(index_lookup_table, constant_id, i); } - yp_compile_context_t scope_compile_context = { + pm_compile_context_t scope_compile_context = { .parser = parser, .previous = compile_context, .constants = compile_context->constants, @@ -1887,8 +1887,8 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, label = NEW_LABEL(lineno); opt_table[i] = label; ADD_LABEL(ret, label); - yp_node_t *optional_node = optionals_list.nodes[i]; - yp_compile_node(iseq, optional_node, ret, src, false, &scope_compile_context); + pm_node_t *optional_node = optionals_list.nodes[i]; + pm_compile_node(iseq, optional_node, ret, src, false, &scope_compile_context); } // Set the last label @@ -1917,7 +1917,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_LABEL(ret, start); if (scope_node->body) { - yp_compile_node(iseq, (yp_node_t *)(scope_node->body), ret, src, popped, &scope_compile_context); + pm_compile_node(iseq, (pm_node_t *)(scope_node->body), ret, src, popped, &scope_compile_context); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -1934,7 +1934,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } default: if (scope_node->body) { - yp_compile_node(iseq, (yp_node_t *)(scope_node->body), ret, src, popped, &scope_compile_context); + pm_compile_node(iseq, (pm_node_t *)(scope_node->body), ret, src, popped, &scope_compile_context); } else { ADD_INSN(ret, &dummy_line_node, putnil); @@ -1946,20 +1946,20 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN(ret, &dummy_line_node, leave); return; } - case YP_SELF_NODE: + case PM_SELF_NODE: if (!popped) { ADD_INSN(ret, &dummy_line_node, putself); } return; - case YP_SINGLETON_CLASS_NODE: { - yp_singleton_class_node_t *singleton_class_node = (yp_singleton_class_node_t *)node; - yp_scope_node_t scope_node; - yp_scope_node_init((yp_node_t *)singleton_class_node, &scope_node); + case PM_SINGLETON_CLASS_NODE: { + pm_singleton_class_node_t *singleton_class_node = (pm_singleton_class_node_t *)node; + pm_scope_node_t scope_node; + pm_scope_node_init((pm_node_t *)singleton_class_node, &scope_node); const rb_iseq_t *singleton_class = NEW_ISEQ(&scope_node, rb_fstring_lit("singleton class"), ISEQ_TYPE_CLASS, lineno); - YP_COMPILE(singleton_class_node->expression); + PM_COMPILE(singleton_class_node->expression); ADD_INSN(ret, &dummy_line_node, putnil); ID singletonclass; CONST_ID(singletonclass, "singletonclass"); @@ -1971,7 +1971,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_SOURCE_ENCODING_NODE: { + case PM_SOURCE_ENCODING_NODE: { const char *encoding = compile_context->parser->encoding.name; if (!popped) { rb_encoding *enc = rb_find_encoding(rb_str_new_cstr(encoding)); @@ -1982,8 +1982,8 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_SOURCE_FILE_NODE: { - yp_source_file_node_t *source_file_node = (yp_source_file_node_t *)node; + case PM_SOURCE_FILE_NODE: { + pm_source_file_node_t *source_file_node = (pm_source_file_node_t *)node; if (!popped) { VALUE filepath; @@ -1998,68 +1998,68 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, } return; } - case YP_SOURCE_LINE_NODE: { + case PM_SOURCE_LINE_NODE: { if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, INT2FIX(lineno)); } return; } - case YP_SPLAT_NODE: { - yp_splat_node_t *splat_node = (yp_splat_node_t *)node; - YP_COMPILE(splat_node->expression); + case PM_SPLAT_NODE: { + pm_splat_node_t *splat_node = (pm_splat_node_t *)node; + PM_COMPILE(splat_node->expression); ADD_INSN1(ret, &dummy_line_node, splatarray, Qtrue); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_STATEMENTS_NODE: { - yp_statements_node_t *statements_node = (yp_statements_node_t *) node; - yp_node_list_t node_list = statements_node->body; + case PM_STATEMENTS_NODE: { + pm_statements_node_t *statements_node = (pm_statements_node_t *) node; + pm_node_list_t node_list = statements_node->body; for (size_t index = 0; index < node_list.size - 1; index++) { - YP_COMPILE_POPPED(node_list.nodes[index]); + PM_COMPILE_POPPED(node_list.nodes[index]); } if (node_list.size > 0) { - YP_COMPILE(node_list.nodes[node_list.size - 1]); + PM_COMPILE(node_list.nodes[node_list.size - 1]); } else { ADD_INSN(ret, &dummy_line_node, putnil); } return; } - case YP_STRING_CONCAT_NODE: { - yp_string_concat_node_t *str_concat_node = (yp_string_concat_node_t *)node; - YP_COMPILE(str_concat_node->left); - YP_COMPILE(str_concat_node->right); + case PM_STRING_CONCAT_NODE: { + pm_string_concat_node_t *str_concat_node = (pm_string_concat_node_t *)node; + PM_COMPILE(str_concat_node->left); + PM_COMPILE(str_concat_node->right); return; } - case YP_STRING_NODE: { + case PM_STRING_NODE: { if (!popped) { - yp_string_node_t *string_node = (yp_string_node_t *) node; + pm_string_node_t *string_node = (pm_string_node_t *) node; ADD_INSN1(ret, &dummy_line_node, putstring, parse_string(&string_node->unescaped)); } return; } - case YP_SYMBOL_NODE: { - yp_symbol_node_t *symbol_node = (yp_symbol_node_t *) node; + case PM_SYMBOL_NODE: { + pm_symbol_node_t *symbol_node = (pm_symbol_node_t *) node; if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, ID2SYM(parse_string_symbol(&symbol_node->unescaped))); } return; } - case YP_TRUE_NODE: + case PM_TRUE_NODE: if (!popped) { ADD_INSN1(ret, &dummy_line_node, putobject, Qtrue); } return; - case YP_UNDEF_NODE: { - yp_undef_node_t *undef_node = (yp_undef_node_t *) node; + case PM_UNDEF_NODE: { + pm_undef_node_t *undef_node = (pm_undef_node_t *) node; for (size_t index = 0; index < undef_node->names.size; index++) { ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_VMCORE)); ADD_INSN1(ret, &dummy_line_node, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CBASE)); - YP_COMPILE(undef_node->names.nodes[index]); + PM_COMPILE(undef_node->names.nodes[index]); ADD_SEND(ret, &dummy_line_node, id_core_undef_method, INT2NUM(2)); @@ -2069,44 +2069,44 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } - case YP_UNLESS_NODE: { - const int line = (int)yp_newline_list_line_column(&(parser->newline_list), node->location.start).line; - yp_unless_node_t *unless_node = (yp_unless_node_t *)node; - yp_statements_node_t *node_body = unless_node->statements; - yp_node_t *node_else = (yp_node_t *)(unless_node->consequent); - yp_node_t *predicate = unless_node->predicate; + case PM_UNLESS_NODE: { + const int line = (int)pm_newline_list_line_column(&(parser->newline_list), node->location.start).line; + pm_unless_node_t *unless_node = (pm_unless_node_t *)node; + pm_statements_node_t *node_body = unless_node->statements; + pm_node_t *node_else = (pm_node_t *)(unless_node->consequent); + pm_node_t *predicate = unless_node->predicate; - yp_compile_if(iseq, line, node_body, node_else, predicate, ret, src, popped, compile_context); + pm_compile_if(iseq, line, node_body, node_else, predicate, ret, src, popped, compile_context); return; } - case YP_UNTIL_NODE: { - yp_until_node_t *until_node = (yp_until_node_t *)node; - yp_statements_node_t *statements = until_node->statements; - yp_node_t *predicate = until_node->predicate; - yp_node_flags_t flags = node->flags; + case PM_UNTIL_NODE: { + pm_until_node_t *until_node = (pm_until_node_t *)node; + pm_statements_node_t *statements = until_node->statements; + pm_node_t *predicate = until_node->predicate; + pm_node_flags_t flags = node->flags; - yp_compile_while(iseq, lineno, flags, node->type, statements, predicate, ret, src, popped, compile_context); + pm_compile_while(iseq, lineno, flags, node->type, statements, predicate, ret, src, popped, compile_context); return; } - case YP_WHILE_NODE: { - yp_while_node_t *while_node = (yp_while_node_t *)node; - yp_statements_node_t *statements = while_node->statements; - yp_node_t *predicate = while_node->predicate; - yp_node_flags_t flags = node->flags; + case PM_WHILE_NODE: { + pm_while_node_t *while_node = (pm_while_node_t *)node; + pm_statements_node_t *statements = while_node->statements; + pm_node_t *predicate = while_node->predicate; + pm_node_flags_t flags = node->flags; - yp_compile_while(iseq, lineno, flags, node->type, statements, predicate, ret, src, popped, compile_context); + pm_compile_while(iseq, lineno, flags, node->type, statements, predicate, ret, src, popped, compile_context); return; } - case YP_X_STRING_NODE: { - yp_x_string_node_t *xstring_node = (yp_x_string_node_t *) node; + case PM_X_STRING_NODE: { + pm_x_string_node_t *xstring_node = (pm_x_string_node_t *) node; ADD_INSN(ret, &dummy_line_node, putself); ADD_INSN1(ret, &dummy_line_node, putobject, parse_string(&xstring_node->unescaped)); ADD_SEND_WITH_FLAG(ret, &dummy_line_node, idBackquote, INT2NUM(1), INT2FIX(VM_CALL_FCALL | VM_CALL_ARGS_SIMPLE)); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; return; } - case YP_YIELD_NODE: { + case PM_YIELD_NODE: { unsigned int flag = 0; struct rb_callinfo_kwarg *keywords = NULL; @@ -2114,7 +2114,7 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, ADD_INSN1(ret, &dummy_line_node, invokeblock, new_callinfo(iseq, 0, FIX2INT(argc), flag, keywords, FALSE)); - YP_POP_IF_POPPED; + PM_POP_IF_POPPED; int level = 0; const rb_iseq_t *tmp_iseq = iseq; @@ -2127,18 +2127,18 @@ yp_compile_node(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, return; } default: - rb_raise(rb_eNotImpError, "node type %s not implemented", yp_node_type_to_str(YP_NODE_TYPE(node))); + rb_raise(rb_eNotImpError, "node type %s not implemented", pm_node_type_to_str(PM_NODE_TYPE(node))); return; } } static VALUE -rb_translate_yarp(rb_iseq_t *iseq, const yp_node_t *node, LINK_ANCHOR *const ret, yp_compile_context_t *compile_context) +rb_translate_prism(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, pm_compile_context_t *compile_context) { RUBY_ASSERT(ISEQ_COMPILE_DATA(iseq)); - RUBY_ASSERT(YP_NODE_TYPE_P(node, YP_PROGRAM_NODE) || YP_NODE_TYPE_P(node, YP_SCOPE_NODE)); + RUBY_ASSERT(PM_NODE_TYPE_P(node, PM_PROGRAM_NODE) || PM_NODE_TYPE_P(node, PM_SCOPE_NODE)); - yp_compile_node(iseq, node, ret, node->location.start, false, compile_context); + pm_compile_node(iseq, node, ret, node->location.start, false, compile_context); iseq_set_sequence(iseq, ret); return Qnil; } diff --git a/prism/prism_init.c b/prism/prism_init.c index 4684e99db6..ddc87fad85 100644 --- a/prism/prism_init.c +++ b/prism/prism_init.c @@ -1,9 +1,9 @@ -#include "yarp/extension.h" +#include "prism/extension.h" void ruby_init_ext(const char *name, void (*init)(void)); void -Init_YARP(void) +Init_Prism(void) { - ruby_init_ext("yarp/yarp.so", Init_yarp); + ruby_init_ext("prism/prism.so", Init_prism); } diff --git a/test/prism/iseq_test.rb b/test/prism/iseq_test.rb index 11d1b0572c..d719923413 100644 --- a/test/prism/iseq_test.rb +++ b/test/prism/iseq_test.rb @@ -1,9 +1,9 @@ # frozen_string_literal: true -module YARP +module Prism class ISeqTest < Test::Unit::TestCase def test_empty_program - test_yarp_eval("") + test_prism_eval("") end ############################################################################ @@ -11,47 +11,47 @@ module YARP ############################################################################ def test_FalseNode - test_yarp_eval("false") + test_prism_eval("false") end def test_FloatNode - test_yarp_eval("1.2") - test_yarp_eval("1.2e3") - test_yarp_eval("+1.2e+3") - test_yarp_eval("-1.2e-3") + test_prism_eval("1.2") + test_prism_eval("1.2e3") + test_prism_eval("+1.2e+3") + test_prism_eval("-1.2e-3") end def test_ImaginaryNode - test_yarp_eval("1i") - test_yarp_eval("+1.0i") - test_yarp_eval("1ri") + test_prism_eval("1i") + test_prism_eval("+1.0i") + test_prism_eval("1ri") end def test_IntegerNode - test_yarp_eval("1") - test_yarp_eval("+1") - test_yarp_eval("-1") - test_yarp_eval("0x10") - test_yarp_eval("0b10") - test_yarp_eval("0o10") - test_yarp_eval("010") + test_prism_eval("1") + test_prism_eval("+1") + test_prism_eval("-1") + test_prism_eval("0x10") + test_prism_eval("0b10") + test_prism_eval("0o10") + test_prism_eval("010") end def test_NilNode - test_yarp_eval("nil") + test_prism_eval("nil") end def test_RationalNode - test_yarp_eval("1.2r") - test_yarp_eval("+1.2r") + test_prism_eval("1.2r") + test_prism_eval("+1.2r") end def test_SelfNode - test_yarp_eval("self") + test_prism_eval("self") end def test_TrueNode - test_yarp_eval("true") + test_prism_eval("true") end ############################################################################ @@ -59,27 +59,27 @@ module YARP ############################################################################ def test_ClassVariableReadNode - test_yarp_eval("class YARP::ISeqTest; @@yct = 1; @@yct; end") + test_prism_eval("class Prism::ISeqTest; @@pit = 1; @@pit; end") end def test_ConstantPathNode - test_yarp_eval("YARP::ISeqTest") + test_prism_eval("Prism::ISeqTest") end def test_ConstantReadNode - test_yarp_eval("YARP") + test_prism_eval("Prism") end def test_GlobalVariableReadNode - test_yarp_eval("$yct = 1; $yct") + test_prism_eval("$pit = 1; $pit") end def test_InstanceVariableReadNode - test_yarp_eval("class YARP::ISeqTest; @yct = 1; @yct; end") + test_prism_eval("class Prism::ISeqTest; @pit = 1; @pit; end") end def test_LocalVariableReadNode - test_yarp_eval("yct = 1; yct") + test_prism_eval("pit = 1; pit") end ############################################################################ @@ -87,49 +87,49 @@ module YARP ############################################################################ def test_ClassVariableTargetNode - test_yarp_eval("class YARP::ISeqTest; @@yct, @@yct1 = 1; end") + test_prism_eval("class Prism::ISeqTest; @@pit, @@pit1 = 1; end") end def test_ClassVariableWriteNode - test_yarp_eval("class YARP::ISeqTest; @@yct = 1; end") + test_prism_eval("class Prism::ISeqTest; @@pit = 1; end") end def test_ClassVariableAndWriteNode - test_yarp_eval("class YARP::ISeqTest; @@yct = 0; @@yct &&= 1; end") + test_prism_eval("class Prism::ISeqTest; @@pit = 0; @@pit &&= 1; end") end def test_ClassVariableOrWriteNode - test_yarp_eval("class YARP::ISeqTest; @@yct = 1; @@yct ||= 0; end") - test_yarp_eval("class YARP::ISeqTest; @@yct = nil; @@yct ||= 1; end") + test_prism_eval("class Prism::ISeqTest; @@pit = 1; @@pit ||= 0; end") + test_prism_eval("class Prism::ISeqTest; @@pit = nil; @@pit ||= 1; end") end def test_ClassVariableOperatorWriteNode - test_yarp_eval("class YARP::ISeqTest; @@yct = 0; @@yct += 1; end") + test_prism_eval("class Prism::ISeqTest; @@pit = 0; @@pit += 1; end") end def test_ConstantTargetNode - # We don't call test_yarp_eval directly in this case becuase we + # We don't call test_prism_eval directly in this case becuase we # don't want to assign the constant mutliple times if we run # with `--repeat-count` # Instead, we eval manually here, and remove the constant to constant_names = ["YCT", "YCT2"] source = "#{constant_names.join(",")} = 1" - yarp_eval = RubyVM::InstructionSequence.compile_yarp(source).eval - assert_equal yarp_eval, 1 + prism_eval = RubyVM::InstructionSequence.compile_prism(source).eval + assert_equal prism_eval, 1 constant_names.map { |name| Object.send(:remove_const, name) } end def test_ConstantWriteNode - # We don't call test_yarp_eval directly in this case becuase we + # We don't call test_prism_eval directly in this case becuase we # don't want to assign the constant mutliple times if we run # with `--repeat-count` # Instead, we eval manually here, and remove the constant to constant_name = "YCT" source = "#{constant_name} = 1" - yarp_eval = RubyVM::InstructionSequence.compile_yarp(source).eval - assert_equal yarp_eval, 1 + prism_eval = RubyVM::InstructionSequence.compile_prism(source).eval + assert_equal prism_eval, 1 Object.send(:remove_const, constant_name) end @@ -141,11 +141,11 @@ module YARP constant_names = ["MyBar", "MyFoo::Bar", "MyFoo::Bar::Baz"] source = "#{constant_names.join(",")} = Object" - iseq = RubyVM::InstructionSequence.compile_yarp(source) + iseq = RubyVM::InstructionSequence.compile_prism(source) $VERBOSE = nil - yarp_eval = iseq.eval + prism_eval = iseq.eval $VERBOSE = verbose - assert_equal yarp_eval, Object + assert_equal prism_eval, Object ensure ## Teardown temp constants @@ -156,67 +156,67 @@ module YARP end def test_ConstantPathWriteNode - # test_yarp_eval("YARP::YCT = 1") + # test_prism_eval("Prism::YCT = 1") end def test_GlobalVariableTargetNode - test_yarp_eval("$yct, $yct1 = 1") + test_prism_eval("$pit, $pit1 = 1") end def test_GlobalVariableWriteNode - test_yarp_eval("$yct = 1") + test_prism_eval("$pit = 1") end def test_GlobalVariableAndWriteNode - test_yarp_eval("$yct = 0; $yct &&= 1") + test_prism_eval("$pit = 0; $pit &&= 1") end def test_GlobalVariableOrWriteNode - test_yarp_eval("$yct ||= 1") + test_prism_eval("$pit ||= 1") end def test_GlobalVariableOperatorWriteNode - test_yarp_eval("$yct = 0; $yct += 1") + test_prism_eval("$pit = 0; $pit += 1") end def test_InstanceVariableTargetNode - test_yarp_eval("class YARP::ISeqTest; @yct, @yct1 = 1; end") + test_prism_eval("class Prism::ISeqTest; @pit, @pit1 = 1; end") end def test_InstanceVariableWriteNode - test_yarp_eval("class YARP::ISeqTest; @yct = 1; end") + test_prism_eval("class Prism::ISeqTest; @pit = 1; end") end def test_InstanceVariableAndWriteNode - test_yarp_eval("@yct = 0; @yct &&= 1") + test_prism_eval("@pit = 0; @pit &&= 1") end def test_InstanceVariableOrWriteNode - test_yarp_eval("@yct ||= 1") + test_prism_eval("@pit ||= 1") end def test_InstanceVariableOperatorWriteNode - test_yarp_eval("@yct = 0; @yct += 1") + test_prism_eval("@pit = 0; @pit += 1") end def test_LocalVariableTargetNode - test_yarp_eval("yct, yct1 = 1") + test_prism_eval("pit, pit1 = 1") end def test_LocalVariableWriteNode - test_yarp_eval("yct = 1") + test_prism_eval("pit = 1") end def test_LocalVariableAndWriteNode - test_yarp_eval("yct = 0; yct &&= 1") + test_prism_eval("pit = 0; pit &&= 1") end def test_LocalVariableOrWriteNode - test_yarp_eval("yct ||= 1") + test_prism_eval("pit ||= 1") end def test_LocalVariableOperatorWriteNode - test_yarp_eval("yct = 0; yct += 1") + test_prism_eval("pit = 0; pit += 1") end ############################################################################ @@ -224,60 +224,60 @@ module YARP ############################################################################ def test_EmbeddedVariableNode - # test_yarp_eval('class YARP::ISeqTest; @yct = 1; "#@yct"; end') - # test_yarp_eval('class YARP::ISeqTest; @@yct = 1; "#@@yct"; end') - test_yarp_eval('$yct = 1; "#$yct"') + # test_prism_eval('class Prism::ISeqTest; @pit = 1; "#@pit"; end') + # test_prism_eval('class Prism::ISeqTest; @@pit = 1; "#@@pit"; end') + test_prism_eval('$pit = 1; "#$pit"') end def test_InterpolatedRegularExpressionNode - test_yarp_eval('$yct = 1; /1 #$yct 1/') - test_yarp_eval('/1 #{1 + 2} 1/') - test_yarp_eval('/1 #{"2"} #{1 + 2} 1/') + test_prism_eval('$pit = 1; /1 #$pit 1/') + test_prism_eval('/1 #{1 + 2} 1/') + test_prism_eval('/1 #{"2"} #{1 + 2} 1/') end def test_InterpolatedStringNode - test_yarp_eval('$yct = 1; "1 #$yct 1"') - test_yarp_eval('"1 #{1 + 2} 1"') + test_prism_eval('$pit = 1; "1 #$pit 1"') + test_prism_eval('"1 #{1 + 2} 1"') end def test_InterpolatedSymbolNode - test_yarp_eval('$yct = 1; :"1 #$yct 1"') - test_yarp_eval(':"1 #{1 + 2} 1"') + test_prism_eval('$pit = 1; :"1 #$pit 1"') + test_prism_eval(':"1 #{1 + 2} 1"') end def test_InterpolatedXStringNode - test_yarp_eval('`echo #{1}`') - test_yarp_eval('`printf #{"100"}`') + test_prism_eval('`echo #{1}`') + test_prism_eval('`printf #{"100"}`') end def test_RegularExpressionNode - test_yarp_eval('/yct/') - test_yarp_eval('/yct/i') - test_yarp_eval('/yct/x') - test_yarp_eval('/yct/m') - test_yarp_eval('/yct/im') - test_yarp_eval('/yct/mx') - test_yarp_eval('/yct/xi') - test_yarp_eval('/yct/ixm') + test_prism_eval('/pit/') + test_prism_eval('/pit/i') + test_prism_eval('/pit/x') + test_prism_eval('/pit/m') + test_prism_eval('/pit/im') + test_prism_eval('/pit/mx') + test_prism_eval('/pit/xi') + test_prism_eval('/pit/ixm') end def test_StringConcatNode - # test_yarp_eval('"YARP" "::" "ISeqTest"') + # test_prism_eval('"Prism" "::" "ISeqTest"') end def test_StringNode - test_yarp_eval('"yct"') + test_prism_eval('"pit"') end def test_SymbolNode - test_yarp_eval(":yct") + test_prism_eval(":pit") end def test_XStringNode - # test_yarp_eval(<<~RUBY) - # class YARP::ISeqTest + # test_prism_eval(<<~RUBY) + # class Prism::ISeqTest # def self.`(command) = command * 2 - # `yct` + # `pit` # end # RUBY end @@ -287,13 +287,13 @@ module YARP ############################################################################ def test_AndNode - test_yarp_eval("true && 1") - test_yarp_eval("false && 1") + test_prism_eval("true && 1") + test_prism_eval("false && 1") end def test_OrNode - test_yarp_eval("true || 1") - test_yarp_eval("false || 1") + test_prism_eval("true || 1") + test_prism_eval("false || 1") end ############################################################################ @@ -301,7 +301,7 @@ module YARP ############################################################################ def test_BlockArgumentNode - test_yarp_eval("1.then(&:to_s)") + test_prism_eval("1.then(&:to_s)") end ############################################################################ @@ -309,20 +309,20 @@ module YARP ############################################################################ def test_ParenthesesNode - test_yarp_eval("()") - test_yarp_eval("(1)") + test_prism_eval("()") + test_prism_eval("(1)") end private def compare_eval(source) ruby_eval = RubyVM::InstructionSequence.compile(source).eval - yarp_eval = RubyVM::InstructionSequence.compile_yarp(source).eval + prism_eval = RubyVM::InstructionSequence.compile_prism(source).eval - assert_equal ruby_eval, yarp_eval + assert_equal ruby_eval, prism_eval end - def test_yarp_eval(source) + def test_prism_eval(source) compare_eval(source) begin diff --git a/tool/leaked-globals b/tool/leaked-globals index 99de52dd6c..4f4a35cc30 100755 --- a/tool/leaked-globals +++ b/tool/leaked-globals @@ -68,7 +68,7 @@ IO.foreach("|#{NM} #{ARGV.join(' ')}") do |line| next if n.include?(".") next if !so and n.start_with?("___asan_") case n - when /\A(?:Init_|InitVM_|yp_|[Oo]nig|dln_|coroutine_)/ + when /\A(?:Init_|InitVM_|pm_|[Oo]nig|dln_|coroutine_)/ next when /\Aruby_static_id_/ next unless so diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 4f8dba5ad3..0a75aadce8 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -53,6 +53,7 @@ module SyncDefaultGems pathname: "ruby/pathname", pp: "ruby/pp", prettyprint: "ruby/prettyprint", + prism: ["ruby/prism", "main"], pstore: "ruby/pstore", psych: 'ruby/psych', rdoc: 'ruby/rdoc', @@ -79,7 +80,6 @@ module SyncDefaultGems weakref: "ruby/weakref", win32ole: "ruby/win32ole", yaml: "ruby/yaml", - yarp: ["ruby/yarp", "main"], zlib: 'ruby/zlib', }.transform_keys(&:to_s) @@ -397,7 +397,7 @@ module SyncDefaultGems rm_rf(%w[spec/syntax_suggest libexec/syntax_suggest]) cp_r("#{upstream}/spec", "spec/syntax_suggest") cp_r("#{upstream}/exe/syntax_suggest", "libexec/syntax_suggest") - when "yarp" + when "prism" # We don't want to remove prism-specific files that existing in ruby/ruby # that do not exist in ruby/prism, so we temporarily move them out of the # prism dir, wipe the prism dir, and then put them back. diff --git a/tool/update-deps b/tool/update-deps index 90107e50c8..2a07d55e37 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -150,13 +150,13 @@ FILES_NEED_VPATH = %w[ enc/trans/utf8_mac.c enc/trans/utf_16_32.c - yarp/api_node.c - yarp/ast.h - yarp/node.c - yarp/prettyprint.c - yarp/serialize.c - yarp/token_type.c - yarp/version.h + prism/api_node.c + prism/ast.h + prism/node.c + prism/prettyprint.c + prism/serialize.c + prism/token_type.c + prism/version.h ] # Multiple files with same filename. @@ -184,7 +184,7 @@ def in_makefile(target, source) target = target.to_s source = source.to_s case target - when %r{\A[^/]*\z}, %r{\Acoroutine/}, %r{\Ayarp/} + when %r{\A[^/]*\z}, %r{\Acoroutine/}, %r{\Aprism/} target2 = "#{target.sub(/\.o\z/, '.$(OBJEXT)')}" case source when *FILES_IN_SOURCE_DIRECTORY then source2 = "$(top_srcdir)/#{source}" diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 1791453893..ab1e46a4b0 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1279,13 +1279,13 @@ $(ruby_pc): $(RBCONFIG) $(ECHO) assembling $(<:\=/) $(Q) $(AS) $(ASFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(<:\=/) -{$(srcdir)/yarp}.c.obj: +{$(srcdir)/prism}.c.obj: $(ECHO) compiling $(<:\=/) $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$(<:\=/) -{$(srcdir)/yarp/enc}.c.obj: +{$(srcdir)/prism/enc}.c.obj: $(ECHO) compiling $(<:\=/) $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$(<:\=/) -{$(srcdir)/yarp/util}.c.obj: +{$(srcdir)/prism/util}.c.obj: $(ECHO) compiling $(<:\=/) $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$(<:\=/) {$(srcdir)/enc/trans}.c.obj: