diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-06-12 20:06:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-06-12 20:22:01 +0900 |
commit | 81836c6cb9fceb4cc8e9e95317a6cbb3d0ad181a (patch) | |
tree | 076b1b0e2f76d749782ae1d689943902950e01e1 /internal/parse.h | |
parent | 41035273d474aac9b6e847d1d5b92e56c84b1f6d (diff) |
Fix duplicate symbol errors when statically linking ripper
Diffstat (limited to 'internal/parse.h')
-rw-r--r-- | internal/parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/parse.h b/internal/parse.h index 9e257cf39d..c66c8df7b6 100644 --- a/internal/parse.h +++ b/internal/parse.h @@ -84,10 +84,15 @@ rb_ast_t* rb_ruby_parser_compile_file_path(rb_parser_t *p, VALUE fname, VALUE fi void rb_ruby_parser_keep_tokens(rb_parser_t *p); rb_ast_t* rb_ruby_parser_compile_generic(rb_parser_t *p, VALUE (*lex_gets)(VALUE, int), VALUE fname, VALUE input, int start); rb_ast_t* rb_ruby_parser_compile_string_path(rb_parser_t *p, VALUE f, VALUE s, int line); + +RUBY_SYMBOL_EXPORT_BEGIN + VALUE rb_ruby_parser_encoding(rb_parser_t *p); int rb_ruby_parser_end_seen_p(rb_parser_t *p); int rb_ruby_parser_set_yydebug(rb_parser_t *p, int flag); +RUBY_SYMBOL_EXPORT_END + int rb_reg_named_capture_assign_iter_impl(struct parser_params *p, const char *s, long len, rb_encoding *enc, NODE **succ_block, const rb_code_location_t *loc); #ifdef RIPPER |