mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
249705229f
commit
08c3dd54bf
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Sep 8 01:10:41 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* tool/transcode-tblgen.rb (transcode_tblgen): log message refined.
|
||||
|
||||
Mon Sep 8 00:58:04 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* rational.c: removed unused code.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue