diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-27 23:47:32 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-27 23:47:32 +0900 |
| commit | f5e10e294cbd2d723d263e038d4cb8cc6e84d6b6 (patch) | |
| tree | e3e4e38ad170ba1a50950a0c7ea1d039f02ea78e /lib | |
| parent | 69f9460075271432334f590a91605401ca860001 (diff) | |
| download | mruby-f5e10e294cbd2d723d263e038d4cb8cc6e84d6b6.tar.gz mruby-f5e10e294cbd2d723d263e038d4cb8cc6e84d6b6.zip | |
Add symbol names as comments to `presym_length_table`; ref #5303
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/presym.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = {" |
