Author: kjs
Date: Tue Feb 26 11:41:46 2008
New Revision: 26073
Modified:
trunk/docs/pct/pct_optable_guide.pod
Log:
[docs] update pct docs to mention 'infix:<<' as a way of writing instead of
french quotes, which are hard to write.
Modified: trunk/docs/pct/pct_optable_guide.pod
==============================================================================
--- trunk/docs/pct/pct_optable_guide.pod (original)
+++ trunk/docs/pct/pct_optable_guide.pod Tue Feb 26 11:41:46 2008
@@ -371,7 +371,12 @@
As operators can be specified as, for instance, infix:<+>, defining an operator
such as "<<" will make the rule parser (the parser generator) confused.
-Therefore, use so-called French quotes to do this. This looks as follows:
+You have two options. Either use quoted names for the operator subroutine
names,
+like so:
+
+ proto 'infix:>>' is equiv('infix:<<') { ... }
+
+Or, use so-called French quotes to do this. This looks as follows:
proto infix:«>>» is equiv(infix:«<<») { ... }