[svn:parrot] r46963 - trunk/compilers/opsc/src/Ops/Compiler
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon May 24 12:35:03 UTC 2010
Author: bacek
Date: Mon May 24 12:35:02 2010
New Revision: 46963
URL: https://trac.parrot.org/parrot/changeset/46963
Log:
Embed redundant raw_word rule into word rule.
Modified:
trunk/compilers/opsc/src/Ops/Compiler/Grammar.pm
Modified: trunk/compilers/opsc/src/Ops/Compiler/Grammar.pm
==============================================================================
--- trunk/compilers/opsc/src/Ops/Compiler/Grammar.pm Mon May 24 12:16:25 2010 (r46962)
+++ trunk/compilers/opsc/src/Ops/Compiler/Grammar.pm Mon May 24 12:35:02 2010 (r46963)
@@ -100,14 +100,11 @@
token word {
|| <quote>
|| <ident>
- || <raw_word> <ws>
+ || <alnum>
+ || <punct>
|| <ws>
}
-token raw_word {
- <alnum>|<punct>
-}
-
proto token quote { <...> }
token quote:sym<apos> { <?[']> <quote_EXPR: ':q'> }
token quote:sym<dblq> { <?["]> <quote_EXPR: ':q'> }
More information about the parrot-commits
mailing list