diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-29 16:51:19 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-29 16:51:19 +0000 |
commit | 7c6feec335827d3e4da1eea89e639fa417158a0a (patch) | |
tree | 10540fe55f07c1120f3fbf9c744d47fc418e4e85 /ChangeLog | |
parent | 0d836d908d15a7f66ab72d44ad264ff721731101 (diff) |
* parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in
non-toplevel scope. [ruby-core:21657]
* test/ruby/test_beginendblock.rb (test_begininclass): add a test for
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Fri Jan 30 01:39:27 2009 Yusuke Endoh <mame@tsg.ne.jp> + + * parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in + non-toplevel scope. [ruby-core:21657] + + * test/ruby/test_beginendblock.rb (test_begininclass): add a test for + above. + Wed Jan 28 22:51:12 2009 NAKAMURA Usaku <usa@ruby-lang.org> * ext/zlib/zlib.c (zstream_run): desperately guard the variable. |