diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-16 05:36:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-16 05:36:42 +0000 |
commit | 8c15f40acfd4171419d15b2516674a067d7d999f (patch) | |
tree | cb5a01be40ffc9f21e2eeae47d2967552d326b15 /vm.c | |
parent | 7a666c67664053df9e749cc81d17a2312881d436 (diff) | |
download | ruby-8c15f40acfd4171419d15b2516674a067d7d999f.tar.gz |
parse.y: no return in class
* parse.y (k_return): prohibit return in class/module body except
for singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions