[svn:parrot] r35689 - trunk/languages/pipp/src/pct
[email protected] Sat, 17 Jan 2009 06:46:59 -0800 (PST)
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>
{*}
}