diff --git a/ChangeLog b/ChangeLog index 8e6aca379f..09f4bf542f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 29 23:38:06 2007 Nobuyoshi Nakada + + * parse.y (stmts): fix for ripper. + Fri Jun 29 21:55:48 2007 Koichi Sasada * parse.y: fix to show line number of blank block. 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 { /*%%%*/