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

[email protected] Tue, 20 Jan 2009 06:26:29 -0800 (PST)
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
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
 }