diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-08-20 16:18:36 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-08-20 16:18:36 +0900 |
commit | cad83fa3c4491153df0561b06bb261e25a831d0f (patch) | |
tree | bfd9978fbf6d6971c34cfa40bf2b3ce673377ed3 /internal | |
parent | 4c93c124c29465e49343b47c935be99ad67a7d83 (diff) | |
download | ruby-cad83fa3c4491153df0561b06bb261e25a831d0f.tar.gz |
ast.c: Rename "save_script_lines" to "keep_script_lines"
... as per ko1's preference. He is preparing to extend this feature to
ISeq for his new debugger. He prefers "keep" to "save" for this wording.
This API is internal and not included in any released version, so I
change it in advance.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parse.h b/internal/parse.h index 588b2b34da..cb95d76a6c 100644 --- a/internal/parse.h +++ b/internal/parse.h @@ -15,7 +15,7 @@ struct rb_iseq_struct; /* in vm_core.h */ /* parse.y */ VALUE rb_parser_set_yydebug(VALUE, VALUE); void *rb_parser_load_file(VALUE parser, VALUE name); -void rb_parser_save_script_lines(VALUE vparser); +void rb_parser_keep_script_lines(VALUE vparser); RUBY_SYMBOL_EXPORT_BEGIN VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int); |