From 30f5c55890bc9f1db68b7b709ed04b5b10ec9946 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Oct 2017 07:41:48 +0000 Subject: parse.y: rb_parser_set_options * parse.y (yycompile0): append top-level addenda before appending prelude nodes. * parse.y (rb_parser_set_options): set top-level addendum options before parsing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- node.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'node.h') diff --git a/node.h b/node.h index c7475cf980..ba65fcde1b 100644 --- a/node.h +++ b/node.h @@ -448,8 +448,7 @@ VALUE rb_parser_encoding(VALUE); VALUE rb_parser_get_yydebug(VALUE); VALUE rb_parser_set_yydebug(VALUE, VALUE); VALUE rb_parser_dump_tree(NODE *node, int comment); -NODE *rb_parser_append_print(VALUE, NODE *); -NODE *rb_parser_while_loop(VALUE, NODE *, int, int); +void rb_parser_set_options(VALUE, int, int, int, int); NODE *rb_parser_compile_cstr(VALUE, const char*, const char*, int, int); NODE *rb_parser_compile_string(VALUE, const char*, VALUE, int); -- cgit v1.2.3