aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 77d8c37d5c..bf24defc03 100644
--- a/ruby.c
+++ b/ruby.c
@@ -343,7 +343,7 @@ require_libraries()
Init_ext(); /* should be called here for some reason :-( */
save[0] = ruby_eval_tree;
save[1] = ruby_eval_tree_begin;
- save[2] = NEW_NEWLINE(0);
+ save[2] = NEW_BEGIN(0);
ruby_eval_tree = ruby_eval_tree_begin = 0;
req_list_last = 0;
while (list) {
@@ -753,7 +753,7 @@ proc_options(argc, argv)
}
if (!script) script = argv[0];
script = ruby_sourcefile = rb_source_filename(script);
- script_node = NEW_NEWLINE(0);
+ script_node = NEW_BEGIN(0);
}
#if defined DOSISH || defined __CYGWIN__
translate_char(script, '\\', '/');