diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-12 00:56:24 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-12 00:56:24 +0000 |
| commit | b43d52a713de7f208c8e0023edfcaff6b7b41369 (patch) | |
| tree | a9b92c88ca990a228edde821ac2c0680122466f2 | |
| parent | b808479dad77a34c2c2471ea421fc8e3ee8e7f1b (diff) | |
| download | ruby-b43d52a713de7f208c8e0023edfcaff6b7b41369.tar.gz ruby-b43d52a713de7f208c8e0023edfcaff6b7b41369.tar.xz ruby-b43d52a713de7f208c8e0023edfcaff6b7b41369.zip | |
* ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | ext/tk/lib/tk.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Feb 12 09:56:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning. + Thu Feb 12 02:23:56 2004 Tanaka Akira <akr@m17n.org> * lib/pathname.rb: use assert_raise instead of assert_raises. diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index e6b4459a5..f41763614 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -139,7 +139,7 @@ module TkComm list << token.gsub(/^\{(.*)\}$/, '\1') if token if list.size == 1 - tk_tcl2ruby(list[0].gsub(/\\(\{|})/, '\1')) + tk_tcl2ruby(list[0].gsub(/\\(\{|\})/, '\1')) else list.collect{|token| tk_split_list(token)} end |
