summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 14:38:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-29 14:38:10 +0000
commit19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c (patch)
tree9019b9d4df516b69c8243dcf2b56ae2241280ffc
parent714f32c7e66582c56c2a7c7953c34deabe876d95 (diff)
downloadruby-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
-rw-r--r--ChangeLog4
-rw-r--r--parse.y8
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e6aca379..09f4bf542 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 96f31e2a7..b53166812 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
{
/*%%%*/