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

[email protected]
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
Author: bernhard
Date: Sat Jan 17 06:46:58 2009
New Revision: 35689

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

Log:
[Pipp] Eliminate class_constant_accessor and static_method_accessor

Modified: trunk/languages/pipp/src/pct/grammar.pg
==============================================================================
--- trunk/languages/pipp/src/pct/grammar.pg	(original)
+++ trunk/languages/pipp/src/pct/grammar.pg	Sat Jan 17 06:46:58 2009
@@ -238,14 +238,12 @@
 
 
 # identifiers
-#
-token class_name               { <ident> }
 
-token constant_name            { <name> }
-
-token class_constant_accessor  { '::' }
+token class_name {
+    <ident>
+}
 
-token static_method_accessor   { '::' }
+token constant_name            { <name> }
 
 token function_name            { <ident> }
 
@@ -345,7 +343,7 @@
 }
 
 token class_constant {
-    <class_name> <.class_constant_accessor> <constant_name>
+    <class_name> '::' <constant_name>
     {*}
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.