From 08c3dd54bfabc69ef235877e24b4fef1972c0d99 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 7 Sep 2008 16:11:40 +0000 Subject: [PATCH] * tool/transcode-tblgen.rb (transcode_tblgen): log message refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ tool/transcode-tblgen.rb | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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"