Please note the comment ahead of this change, that specifically states that the snippet that follows is invalid syntax. =-)
So, either the test or the text is wrong and needs fixing. On Wed, Jan 13, 2010 at 9:34 AM, <[email protected]> wrote: > Author: mikehh > Date: Wed Jan 13 14:34:18 2010 > New Revision: 43444 > URL: https://trac.parrot.org/parrot/changeset/43444 > > Log: > fix examples_tests TODO pass - docs/user/pir/intro.pod > > Modified: > trunk/docs/user/pir/intro.pod > > Modified: trunk/docs/user/pir/intro.pod > ============================================================================== > --- trunk/docs/user/pir/intro.pod Wed Jan 13 12:43:06 2010 > (r43443) > +++ trunk/docs/user/pir/intro.pod Wed Jan 13 14:34:18 2010 > (r43444) > @@ -373,7 +373,7 @@ > > Whereas the following is not: > > -=begin PIR_INVALID > +=begin PIR > > .sub main > .param int a :named("name") > @@ -381,7 +381,7 @@ > # ... > .end > > -=end PIR_INVALID > +=end PIR > > It's also possible to use named syntax when returning values from > subroutines. Into the C<.return> command I'll use: > _______________________________________________ > http://lists.parrot.org/mailman/listinfo/parrot-commits > -- Will "Coke" Coleda _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
