develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34425 - trunk/languages/pipp/src/pct

From:
bernhard
Date:
December 27, 2008 07:40
Subject:
[svn:parrot] r34425 - trunk/languages/pipp/src/pct
Message ID:
20081227154001.BD7C3CBA12@x12.develooper.com
Author: bernhard
Date: Sat Dec 27 07:40:00 2008
New Revision: 34425

Modified:
   trunk/languages/pipp/src/pct/grammar.pg

Log:
[Pipp] Replace some hard tabs.


Modified: trunk/languages/pipp/src/pct/grammar.pg
==============================================================================
--- trunk/languages/pipp/src/pct/grammar.pg	(original)
+++ trunk/languages/pipp/src/pct/grammar.pg	Sat Dec 27 07:40:00 2008
@@ -2,7 +2,6 @@
 # $Id$
 
 # PHP grammar for Pipp PCT
-
 grammar Pipp::Grammar is PCT::Grammar;
 
 # the starting rule
@@ -276,18 +275,18 @@
 }
 
 rule instantiate_array {
-	'array' '(' [ <array_arguments> [  [',' <array_arguments> ]* [',' <array_arguments> ]?  ]? ','?  ]?  ')'
-	{*}
+    'array' '(' [ <array_arguments> [  [',' <array_arguments> ]* [',' <array_arguments> ]?  ]? ','?  ]?  ')'
+    {*}
 }
 
-rule array_arguments {	
-	| <key_value_pair>	{*}	#= key_value_pair
-	| <expression>		{*}	#= expression
+rule array_arguments {
+    | <key_value_pair>  {*}    #= key_value_pair
+    | <expression>      {*}    #= expression
 }
 
 rule key_value_pair {
-	<key=expression> '=>' <value=expression>
-	{*}
+    <key=expression> '=>' <value=expression>
+    {*}
 }
 
 rule constructor_call {
@@ -375,7 +374,7 @@
 rule term {
       <method_call>            {*}   #= method_call
     | <function_call>          {*}   #= function_call
-	| <instantiate_array>	   {*}	 #= instantiate_array
+    | <instantiate_array>      {*}   #= instantiate_array
     | <constructor_call>       {*}   #= constructor_call
     | '(' <expression> {*} ')'       #= expression
     | <literal>                {*}   #= literal



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About