summaryrefslogtreecommitdiff
path: root/internal/ruby_parser.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-08-25 16:53:29 +0900
committerNobuyoshi Nakada <[email protected]>2023-08-25 18:23:05 +0900
commit6aa16f9ec14a296f549dc955774ad2293d1c54d6 (patch)
tree39498c84bbdf2d7edd499d6e60642c1ca34cb908 /internal/ruby_parser.h
parentd9cba2fc74addc3e0a6da0fe230fd333fb1c31ac (diff)
Move SCRIPT_LINES__ away from parse.y
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8289
Diffstat (limited to 'internal/ruby_parser.h')
-rw-r--r--internal/ruby_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ruby_parser.h b/internal/ruby_parser.h
index c6240cf9fa..fc23177719 100644
--- a/internal/ruby_parser.h
+++ b/internal/ruby_parser.h
@@ -19,7 +19,7 @@ VALUE rb_parser_encoding(VALUE);
VALUE rb_parser_set_yydebug(VALUE, VALUE);
void rb_parser_set_options(VALUE, int, int, int, int);
void *rb_parser_load_file(VALUE parser, VALUE name);
-void rb_parser_keep_script_lines(VALUE vparser);
+void rb_parser_set_script_lines(VALUE vparser, VALUE lines_array);
void rb_parser_error_tolerant(VALUE vparser);
void rb_parser_keep_tokens(VALUE vparser);