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 /lib | |
| parent | 4c93c124c29465e49343b47c935be99ad67a7d83 (diff) | |
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 'lib')
| -rw-r--r-- | lib/error_highlight/core_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error_highlight/core_ext.rb b/lib/error_highlight/core_ext.rb index 1e91debc0c..1ae180aeac 100644 --- a/lib/error_highlight/core_ext.rb +++ b/lib/error_highlight/core_ext.rb @@ -16,7 +16,7 @@ module ErrorHighlight loc = locs.first begin - node = RubyVM::AbstractSyntaxTree.of(loc, save_script_lines: true) + node = RubyVM::AbstractSyntaxTree.of(loc, keep_script_lines: true) opts = {} case self |
