mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9ef561b6e0
commit
f43cae2b05
8 changed files with 265 additions and 37 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue