[macruby-changes] [1094] MacRuby/branches/experimental/roxor.cpp

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 23 03:49:57 PDT 2009


Revision: 1094
          http://trac.macosforge.org/projects/ruby/changeset/1094
Author:   vincent.isambart at gmail.com
Date:     2009-03-23 03:49:56 -0700 (Mon, 23 Mar 2009)
Log Message:
-----------
fixed case spec crash

Modified Paths:
--------------
    MacRuby/branches/experimental/roxor.cpp

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-03-23 10:02:03 UTC (rev 1093)
+++ MacRuby/branches/experimental/roxor.cpp	2009-03-23 10:49:56 UTC (rev 1094)
@@ -704,15 +704,11 @@
 	    break;
 
 	case NODE_ARGSPUSH:
+	case NODE_ARGSCAT:
 	    compile_when_arguments(args->nd_head, comparedToVal, thenBB);
 	    compile_single_when_argument(args->nd_body, comparedToVal, thenBB);
 	    break;
 
-	case NODE_ARGSCAT:
-	    compile_when_arguments(args->nd_head, comparedToVal, thenBB);
-	    compile_when_arguments(args->nd_body, comparedToVal, thenBB);
-	    break;
-
 	default:
 	    compile_node_error("unrecognized when arg node", args);
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090323/fbfe68a9/attachment-0001.html>


More information about the macruby-changes mailing list