[svn:parrot] r44515 - branches/ops_pct/compilers/opsc/compiler

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Feb 27 00:08:14 UTC 2010


Author: bacek
Date: Sat Feb 27 00:08:11 2010
New Revision: 44515
URL: https://trac.parrot.org/parrot/changeset/44515

Log:
Fix actions.pm to be in proper namespace and proper is-a.

Modified:
   branches/ops_pct/compilers/opsc/compiler/actions.pm

Modified: branches/ops_pct/compilers/opsc/compiler/actions.pm
==============================================================================
--- branches/ops_pct/compilers/opsc/compiler/actions.pm	Fri Feb 26 23:38:31 2010	(r44514)
+++ branches/ops_pct/compilers/opsc/compiler/actions.pm	Sat Feb 27 00:08:11 2010	(r44515)
@@ -1,18 +1,17 @@
 # Copyright (C) 2009, Parrot Foundation.
 # $Id$
 
-class Ops::Grammar::Actions;
+class Ops::Actions is HLL::Actions;
 
 method TOP($/) {
     make $<body>.ast;
 }
 
 method body($/) {
-
     my $past := PAST::Stmts.new(
         :node($/)
     );
-    
+
     $past<preamble> := PAST::Stmts.new(
         :node($/)
     );
@@ -98,4 +97,4 @@
 #   mode: perl6
 #   fill-column: 100
 # End:
-# vim: expandtab shiftwidth=4:
+# vim: expandtab ft=perl6 shiftwidth=4:


More information about the parrot-commits mailing list