ruby-changes:3957
From: ko1@a...
Date: Tue, 12 Feb 2008 21:05:29 +0900 (JST)
Subject: [ruby-changes:3957] nobu - Ruby:r15447 (trunk): * parse.y (exc_list): should use mrhs if non array.
nobu 2008-02-12 21:04:53 +0900 (Tue, 12 Feb 2008)
New Revision: 15447
Modified files:
trunk/ChangeLog
trunk/parse.y
Log:
* parse.y (exc_list): should use mrhs if non array.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=15447&r2=15446&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15447&r2=15446&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15446)
+++ ChangeLog (revision 15447)
@@ -1,3 +1,7 @@
+Tue Feb 12 21:04:51 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * parse.y (exc_list): should use mrhs if non array.
+
Tue Feb 12 20:32:50 2008 Tadayoshi Funaba <tadf@d...>
* lib/rational.rb (floor, ceil, truncate, round): do not use
Index: parse.y
===================================================================
--- parse.y (revision 15446)
+++ parse.y (revision 15447)
@@ -3549,7 +3549,7 @@
| mrhs
{
/*%%%*/
- $$ = splat_array($1);
+ if (!($$ = splat_array($1))) $$ = $1;
/*%
$$ = $1;
%*/
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/