From 027c45a1c7f272234962b3591902d6f0c5766ce1 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 Dec 2007 16:09:31 +0000 Subject: [PATCH] * lib/irb/output-method.rb: translate a comment to English to avoid mix of EUC-JP comment and UTF-8 $Date$. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/irb/output-method.rb | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index a200f85cdf..af7fbb38ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 25 01:07:57 2007 Tanaka Akira + + * lib/irb/output-method.rb: translate a comment to English to + avoid mix of EUC-JP comment and UTF-8 $Date$. + Tue Dec 25 00:27:28 2007 GOTOU Yuuzou * lib/webrick/httpservley/cgihandler.rb diff --git a/lib/irb/output-method.rb b/lib/irb/output-method.rb index b9a3a8851e..3e4e3d442c 100644 --- a/lib/irb/output-method.rb +++ b/lib/irb/output-method.rb @@ -36,11 +36,11 @@ module IRB end # % - # <フラグ> [#0- +] - # <最小フィールド幅> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*) - # <精度>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)? - # #<長さ修正文字>(hh|h|l|ll|L|q|j|z|t) - # <変換修正文字>[diouxXeEfgGcsb%] + # [#0- +] + # (\*|\*[1-9][0-9]*\$|[1-9][0-9]*) + # .(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)? + # #(hh|h|l|ll|L|q|j|z|t) + # [diouxXeEfgGcsb%] def parse_printf_format(format, opts) return format, opts if $1.size % 2 == 1 end