diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 14:38:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-29 14:38:10 +0000 |
commit | 19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c (patch) | |
tree | 9019b9d4df516b69c8243dcf2b56ae2241280ffc /parse.y | |
parent | 714f32c7e66582c56c2a7c7953c34deabe876d95 (diff) | |
download | ruby-19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c.tar.gz ruby-19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c.tar.xz ruby-19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c.zip |
* parse.y (stmts): fix for ripper.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -771,15 +771,13 @@ compstmt : stmts opt_terms stmts : none { + /*%%%*/ $$ = NEW_NIL(); - } - /*%c%*/ - /*%c - { + /*% $$ = dispatch2(stmts_add, dispatch0(stmts_new), dispatch0(void_stmt)); - } %*/ + } | stmt { /*%%%*/ |