Author: larry
Date: Fri Dec 28 14:54:36 2007
New Revision: 14474
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S05.pod
Log:
Fossil noticed by pmichaud++
Quote macros should be "quote:" rather than "circumfix:"--the latter implies
EXPR in the middle.
Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod (original)
+++ doc/trunk/design/syn/S02.pod Fri Dec 28 14:54:36 2007
@@ -2271,7 +2271,7 @@
macro qx { 'qq:x ' } # equivalent to P5's qx//
macro qTO { 'qq:x:w:to ' } # qq:x:w:to//
- macro circumfix:<❰ ❱> ($expr) { q:code{ $expr.quoteharder } }
+ macro quote:<❰ ❱> ($text) { q:code{ $text.quoteharder } }
All the uppercase adverbs are reserved for user-defined quotes.
All Unicode delimiters above Latin-1 are reserved for user-defined quotes.
Modified: doc/trunk/design/syn/S05.pod
==============================================================================
--- doc/trunk/design/syn/S05.pod (original)
+++ doc/trunk/design/syn/S05.pod Fri Dec 28 14:54:36 2007
@@ -14,9 +14,9 @@
Maintainer: Patrick Michaud <[EMAIL PROTECTED]> and
Larry Wall <[EMAIL PROTECTED]>
Date: 24 Jun 2002
- Last Modified: 29 Nov 2007
+ Last Modified: 28 Dec 2007
Number: 5
- Version: 68
+ Version: 69
This document summarizes Apocalypse 5, which is about the new regex
syntax. We now try to call them I<regex> rather than "regular
@@ -361,7 +361,7 @@
Lists and junctions are allowed: C<:nth(1|2|3|5|8|13|21|34|55|89)>.
-So are closures: C<:nth{.is_fibonacci}>
+So are closures: C<:nth({.is_fibonacci})>
=item *