aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-08 13:02:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-08 13:02:55 +0900
commit4da633361532663db344ead243a3a4fb4f82d2de (patch)
tree243b7d6462f9fab19b425d2f267fa3453f269e76 /internal
parent906f6cfe64346172f30a7eb40d462af882d7b521 (diff)
downloadruby-4da633361532663db344ead243a3a4fb4f82d2de.tar.gz
Export functions used for builtins
Diffstat (limited to 'internal')
-rw-r--r--internal/ruby_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ruby_parser.h b/internal/ruby_parser.h
index fc23177719..6beb2808ab 100644
--- a/internal/ruby_parser.h
+++ b/internal/ruby_parser.h
@@ -11,9 +11,10 @@ RUBY_SYMBOL_EXPORT_BEGIN
void rb_parser_config_initialize(rb_parser_config_t *config);
#endif
VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int);
+VALUE rb_parser_new(void);
+rb_ast_t *rb_parser_compile_string_path(VALUE vparser, VALUE fname, VALUE src, int line);
RUBY_SYMBOL_EXPORT_END
-VALUE rb_parser_new(void);
VALUE rb_parser_end_seen_p(VALUE);
VALUE rb_parser_encoding(VALUE);
VALUE rb_parser_set_yydebug(VALUE, VALUE);
@@ -24,7 +25,6 @@ void rb_parser_error_tolerant(VALUE vparser);
void rb_parser_keep_tokens(VALUE vparser);
rb_ast_t *rb_parser_compile_string(VALUE, const char*, VALUE, int);
-rb_ast_t *rb_parser_compile_string_path(VALUE vparser, VALUE fname, VALUE src, int line);
rb_ast_t *rb_parser_compile_file_path(VALUE vparser, VALUE fname, VALUE input, int line);
rb_ast_t *rb_parser_compile_generic(VALUE vparser, VALUE (*lex_gets)(VALUE, int), VALUE fname, VALUE input, int line);