[svn:parrot] r47904 - branches/gsoc_past_optimization/runtime/parrot/library/Tree

tcurtis at svn.parrot.org tcurtis at svn.parrot.org
Mon Jun 28 17:53:35 UTC 2010


Author: tcurtis
Date: Mon Jun 28 17:53:34 2010
New Revision: 47904
URL: https://trac.parrot.org/parrot/changeset/47904

Log:
Change a .from call to .orig.

Modified:
   branches/gsoc_past_optimization/runtime/parrot/library/Tree/Pattern.nqp

Modified: branches/gsoc_past_optimization/runtime/parrot/library/Tree/Pattern.nqp
==============================================================================
--- branches/gsoc_past_optimization/runtime/parrot/library/Tree/Pattern.nqp	Mon Jun 28 17:41:31 2010	(r47903)
+++ branches/gsoc_past_optimization/runtime/parrot/library/Tree/Pattern.nqp	Mon Jun 28 17:53:34 2010	(r47904)
@@ -31,7 +31,7 @@
     method transform ($node, $transform) {
         my &transSub;
         if ($transform ~~ Tree::Transformer) {
-            &transSub := sub ($/) { $transformer.walk($/.from()); };
+            &transSub := sub ($/) { $transformer.walk($/.orig()); };
         } elsif (pir::does__iPS($transform, 'invokable')) {
             &transSub := $transform;
         } else {


More information about the parrot-commits mailing list