summaryrefslogtreecommitdiffstats
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
commit19edd0ac3e1302a6bbf18c762b74ca8d49d1f21c (patch)
tree9019b9d4df516b69c8243dcf2b56ae2241280ffc /parse.y
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
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 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
{
/*%%%*/