summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-20 17:12:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-20 17:12:56 +0000
commit31ca23d694e06b90b6d2f2ee58c14ddc2448e5bd (patch)
treea7e53cc8a681d1a7798b0528cbb05d21d946aef4
parentfbcf44ec865b8eeeb313dbd00ba5f2923ea61f86 (diff)
downloadruby-31ca23d694e06b90b6d2f2ee58c14ddc2448e5bd.tar.gz
ruby-31ca23d694e06b90b6d2f2ee58c14ddc2448e5bd.tar.xz
ruby-31ca23d694e06b90b6d2f2ee58c14ddc2448e5bd.zip
* parse.y (f_arglist): should set command_start = Qtrue for
command body. [ruby-talk:180648] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--parse.y2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 104f784fa..c2742a258 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 21 02:07:39 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * parse.y (f_arglist): should set command_start = Qtrue for
+ command body. [ruby-talk:180648]
+
Mon Feb 20 22:30:17 2006 Tanaka Akira <akr@m17n.org>
* mkconfig.rb: alias Config to RbConfig for compatibility.
diff --git a/parse.y b/parse.y
index 8a4353bee..aa7f1329a 100644
--- a/parse.y
+++ b/parse.y
@@ -3980,9 +3980,11 @@ f_arglist : '(' f_args rparen
/*%%%*/
$$ = $2;
lex_state = EXPR_BEG;
+ command_start = Qtrue;
/*%
$$ = dispatch1(paren, $2);
lex_state = EXPR_BEG;
+ command_start = Qtrue;
%*/
}
| f_args term