From 9c69eff7b362f99c0efab3781a4169bfe16eb3d4 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Jun 2007 14:38:10 +0000 Subject: * parse.y (stmts): fix for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 96f31e2a79..b53166812e 100644 --- a/parse.y +++ b/parse.y @@ -771,15 +771,13 @@ compstmt : stmts opt_terms stmts : none { + /*%%%*/ $$ = NEW_NIL(); - } - /*%c%*/ - /*%c - { + /*% $$ = dispatch2(stmts_add, dispatch0(stmts_new), dispatch0(void_stmt)); - } %*/ + } | stmt { /*%%%*/ -- cgit v1.2.3