From f5e10e294cbd2d723d263e038d4cb8cc6e84d6b6 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 27 Jan 2021 23:47:32 +0900 Subject: Add symbol names as comments to `presym_length_table`; ref #5303 --- lib/mruby/presym.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mruby/presym.rb b/lib/mruby/presym.rb index d56719487..0009c9684 100644 --- a/lib/mruby/presym.rb +++ b/lib/mruby/presym.rb @@ -91,7 +91,7 @@ module MRuby _pp "GEN", table_header_path.relative_path File.open(table_header_path, "w:binary") do |f| f.puts "static const uint16_t presym_length_table[] = {" - presyms.each{|sym| f.puts " #{sym.bytesize},"} + presyms.each{|sym| f.puts " #{sym.bytesize},\t/* #{sym} */"} f.puts "};" f.puts f.puts "static const char * const presym_name_table[] = {" -- cgit v1.2.3