summaryrefslogtreecommitdiff
path: root/parse.y
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
commit9c69eff7b362f99c0efab3781a4169bfe16eb3d4 (patch)
tree9019b9d4df516b69c8243dcf2b56ae2241280ffc /parse.y
parent0d7e74a6bebf02a289f77c13c34dc5c8d4934478 (diff)
* parse.y (stmts): fix for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 3 insertions, 5 deletions
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
{
/*%%%*/