[svn:parrot] r44812 - branches/ops_pct/compilers/opsc/src/Ops/Compiler

mikehh at svn.parrot.org mikehh at svn.parrot.org
Tue Mar 9 13:27:34 UTC 2010


Author: mikehh
Date: Tue Mar  9 13:27:34 2010
New Revision: 44812
URL: https://trac.parrot.org/parrot/changeset/44812

Log:
remove trailing whitespace and update copyright

Modified:
   branches/ops_pct/compilers/opsc/src/Ops/Compiler/Grammar.pm

Modified: branches/ops_pct/compilers/opsc/src/Ops/Compiler/Grammar.pm
==============================================================================
--- branches/ops_pct/compilers/opsc/src/Ops/Compiler/Grammar.pm	Tue Mar  9 13:25:34 2010	(r44811)
+++ branches/ops_pct/compilers/opsc/src/Ops/Compiler/Grammar.pm	Tue Mar  9 13:27:34 2010	(r44812)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009, Parrot Foundation.
+# Copyright (C) 2009-2010, Parrot Foundation.
 # $Id$
 
 INIT { pir::load_bytecode('HLL.pbc'); }
@@ -6,7 +6,7 @@
 grammar Ops::Compiler::Grammar is HLL::Grammar;
 
 rule TOP {
-    <body> 
+    <body>
     [ $ || <panic: 'Syntax error'> ]
     {*}
 }
@@ -34,9 +34,9 @@
 }
 
 rule op {
-    <op_type>? 'op' <op_name=identifier> '(' 
+    <op_type>? 'op' <op_name=identifier> '('
         [ <op_params>? || <panic: "Fail to parse params"> ]
-    ')' <op_flag>* 
+    ')' <op_flag>*
     [ <op_body> || <panic: "Fail to parse op body"> ]
     {*}
 }
@@ -57,7 +57,7 @@
 
 token op_param_direction {
     # Order is crucial. PGE doesn't support LTM yet.
-    [ 
+    [
     | 'inout'
     | 'inconst'
     | 'invar'


More information about the parrot-commits mailing list