diff --git a/ChangeLog b/ChangeLog index 8b0174a713..99f2171c2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 8 01:10:41 2008 Tanaka Akira + + * tool/transcode-tblgen.rb (transcode_tblgen): log message refined. + Mon Sep 8 00:58:04 2008 Tadayoshi Funaba * rational.c: removed unused code. diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index b90b18cc1e..2eb4a01565 100644 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -603,7 +603,13 @@ TRANSCODERS = [] TRANSCODE_GENERATED_TRANSCODER_CODE = '' def transcode_tblgen(from, to, map) - STDERR.puts "converter from #{from} to #{to}" if VERBOSE_MODE + if VERBOSE_MODE + if from.empty? || to.empty? + STDERR.puts "converter for #{from.empty? ? to : from}" + else + STDERR.puts "converter from #{from} to #{to}" + end + end id_from = from.tr('^0-9A-Za-z', '_') id_to = to.tr('^0-9A-Za-z', '_') if from == "UTF-8"