* parse.y (stmts): fix for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d7e74a6be
commit
9c69eff7b3
@ -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>
|
Fri Jun 29 21:55:48 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* parse.y: fix to show line number of blank block.
|
* parse.y: fix to show line number of blank block.
|
||||||
|
8
parse.y
8
parse.y
@ -771,15 +771,13 @@ compstmt : stmts opt_terms
|
|||||||
|
|
||||||
stmts : none
|
stmts : none
|
||||||
{
|
{
|
||||||
|
/*%%%*/
|
||||||
$$ = NEW_NIL();
|
$$ = NEW_NIL();
|
||||||
}
|
/*%
|
||||||
/*%c%*/
|
|
||||||
/*%c
|
|
||||||
{
|
|
||||||
$$ = dispatch2(stmts_add, dispatch0(stmts_new),
|
$$ = dispatch2(stmts_add, dispatch0(stmts_new),
|
||||||
dispatch0(void_stmt));
|
dispatch0(void_stmt));
|
||||||
}
|
|
||||||
%*/
|
%*/
|
||||||
|
}
|
||||||
| stmt
|
| stmt
|
||||||
{
|
{
|
||||||
/*%%%*/
|
/*%%%*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user