Author: kjs
Date: Thu Feb 21 13:01:29 2008
New Revision: 25950

Modified:
   trunk/docs/pct/pct_optable_guide.pod

Log:
[docs] 
add a note about is tighter in 'term:' special rule in optable.

Modified: trunk/docs/pct/pct_optable_guide.pod
==============================================================================
--- trunk/docs/pct/pct_optable_guide.pod        (original)
+++ trunk/docs/pct/pct_optable_guide.pod        Thu Feb 21 13:01:29 2008
@@ -90,12 +90,16 @@
 In order to define what an operand is, a special rule is define, named
 C<term:>.
 
- proto 'term:' is precedence('=') is parsed(&simple_expression) { ... }
+ proto 'term:' is tighter('infix:*')
+               is parsed(&simple_expression) { ... }
 
 This rule states that whenever an operand is expected, it is parsed by
 the rule named C<simple_expression>. In other words, this is the point
 where the parser switches back from bottom-up to top-down.
 
+Be sure to add the C<tighter> clause, to make sure that your I<terms>
+are parsed correctly.
+
 =head2 Defining operators
 
 In between these two rules defining the entry point and the I<exit> point

Reply via email to