develooper Front page | perl.cvs.parrot | Postings from January 2009

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

From:
bernhard
Date:
January 20, 2009 06:26
Subject:
[svn:parrot] r35808 - trunk/languages/pipp/src/pct
Message ID:
20090120142629.D048CCB9AE@x12.develooper.com
Author: bernhard
Date: Tue Jan 20 06:26:29 2009
New Revision: 35808

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

Log:
[Pipp] order of declaration don't matter

Modified: trunk/languages/pipp/src/pct/grammar.pg
==============================================================================
--- trunk/languages/pipp/src/pct/grammar.pg	(original)
+++ trunk/languages/pipp/src/pct/grammar.pg	Tue Jan 20 06:26:29 2009
@@ -441,9 +441,10 @@
 rule class_definition {
     'class' <class_name> [ 'implements' <interface_name> ]?  {*}  #= open
     '{'
-        <constant_definition>*
-        <class_member_definition>*
-        <class_method_definition>*
+        [ | <constant_definition>
+          | <class_member_definition>
+          | <class_method_definition>
+        ]*
     '}'                                                      {*}  #= close
 }
 



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