diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-09 09:29:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-09 09:29:52 +0000 |
commit | f43cae2b057622e6812e370f2c7cb3efa06f6665 (patch) | |
tree | ca48f13383a026a57bb50ae9e0e3751154ff0420 /ext/tk/sample/demos-jp/floor.rb | |
parent | 9ef561b6e09a6d5768617e20db4d985ca34260e9 (diff) | |
download | ruby-f43cae2b057622e6812e370f2c7cb3efa06f6665.tar.gz |
* parse.y (gettable_gen): warns if VCALL name is used as
out-of-scope block local variable. [EXPERIMENTAL]
* parse.y (opt_bv_decl): add explicit block local variable
declaration. raises error for name conflicts. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/demos-jp/floor.rb')
-rw-r--r-- | ext/tk/sample/demos-jp/floor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/sample/demos-jp/floor.rb b/ext/tk/sample/demos-jp/floor.rb index 517600de92..d258bb6486 100644 --- a/ext/tk/sample/demos-jp/floor.rb +++ b/ext/tk/sample/demos-jp/floor.rb @@ -1664,8 +1664,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| c.yview(*args)}) - h.command(proc{|*args| c.xview(*args)}) + v.command(proc{|*args| f.yview(*args)}) + h.command(proc{|*args| f.xview(*args)}) } end |