On 20 Apr, Luke Palmer wrote:
: Steven Philip Schubiger writes:
:> In
:> macro circumfix:(*...*) () is parsed(/.*?/ { "" }
:>
:> is the second enclosing part of the "parsed" parentheses omitted
:> by intention? If not, I'd volunteer to provide a patch.
:
: Fixed. Thanks.
:
: Luke
You missed some.
Steven
--- perl6/doc/trunk/design/apo/A06.pod Wed Apr 20 20:03:19 2005
+++ perl6/doc/trunk/design/apo/A06.pod Wed Apr 20 20:05:32 2005
@@ -3004,12 +3004,12 @@
interpolated with a special C< ... > marker, which is considered part
of the name:
- macro circumfix:(*...*) () is parsed(/.*?/ { "" }
+ macro circumfix:(*...*) () is parsed(/.*?/) { "" }
[Update: That's now solved by use of existing slice syntax:
- macro circumfix:<(* *)> () is parsed(/.*?/ { "" }
- macro circumfix:{'(*', '*)'} () is parsed(/.*?/ { "" }
+ macro circumfix:<(* *)> () is parsed(/.*?/) { "" }
+ macro circumfix:{'(*', '*)'} () is parsed(/.*?/) { "" }
That's so convenient that we'll discard the special rule about
splitting symmetrically in favor of requiring a two element slice.]