diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-08 16:37:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-08 16:37:42 +0900 |
commit | 2e29b651093d158c23f6553972769c8ccb7dbd94 (patch) | |
tree | 1992931cc08fd203f41270a0cc32c53f4b28f7f6 /tool/mk_builtin_loader.rb | |
parent | 99b1c19be44d229f9ad0a84fd5963b0a810865c9 (diff) | |
download | ruby-2e29b651093d158c23f6553972769c8ccb7dbd94.tar.gz |
Add file mode to generated files [ci skip]
Diffstat (limited to 'tool/mk_builtin_loader.rb')
-rw-r--r-- | tool/mk_builtin_loader.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index aa8e46d5c5..cea4d1f99b 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -36,6 +36,7 @@ def mk_builtin_header file collect_builtin(RubyVM::InstructionSequence.compile_file(file, false).to_a, bs = {}) open(ofile, 'w'){|f| + f.puts "// -*- c -*-" f.puts "// DO NOT MODIFY THIS FILE DIRECTLY." f.puts "// auto-generated file" f.puts "// by #{__FILE__}" |