Issue #5738 has been updated by Yukihiro Matsumoto.

Status changed from Open to Rejected

???????????????????????????????????????????????if???????????????BEGIN???????????????????????????????????????????????????????????????????????????????????????????????
----------------------------------------
Bug #5738: if false; BEGIN {}; end ??? syntax error ?????
http://redmine.ruby-lang.org/issues/5738

Author: Sho Hashimoto
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3dev (2011-07-31 revision 32789) [i686-linux]


1.8 ?????????????以??????????? syntax error ????????????

  if false; BEGIN {}; end

test/ruby/test_beginendblock.rb ???????? NEWS ????述??????????????????????????????????????????????????????????????????????????1.9 ????????????????????? reject ???????????????????????

???????以??????????? syntax error ???????????????1.8 ?????????????yyerror("BEGIN in method"); ?????????????????????????????????????????????????????????

  def foo; BEGIN {}; end



-- 
http://redmine.ruby-lang.org