summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parse.y8
2 files changed, 7 insertions, 5 deletions
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 <nobu@ruby-lang.org>
+
+ * parse.y (stmts): fix for ripper.
+
Fri Jun 29 21:55:48 2007 Koichi Sasada <ko1@atdot.net>
* 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
{
/*%%%*/