diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-08 16:24:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-08 16:30:28 +0900 |
commit | 20971799f26c6466f63ab179ce2d3384155b9760 (patch) | |
tree | f73fc19a8615de76a8a28b940fea3e40657d4c81 /tool/mk_builtin_loader.rb | |
parent | 6e72b72881b42e28d2f97ee023587e3d071fb64b (diff) | |
download | ruby-20971799f26c6466f63ab179ce2d3384155b9760.tar.gz |
Renamed `load_*.inc` as `*.rbinc` to utilize a suffix rule
Diffstat (limited to 'tool/mk_builtin_loader.rb')
-rw-r--r-- | tool/mk_builtin_loader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index dafab79fd0..aa8e46d5c5 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -26,12 +26,12 @@ def collect_builtin iseq_ary, bs } end # ruby mk_builtin_loader.rb TARGET_FILE.rb -# #=> generate load_TARGET_FILE.inc +# #=> generate TARGET_FILE.rbinc # def mk_builtin_header file base = File.basename(file, '.rb') - ofile = File.join("load_#{base}.inc") + ofile = "#{base}.rbinc" collect_builtin(RubyVM::InstructionSequence.compile_file(file, false).to_a, bs = {}) |