Author: lwall Date: 2009-06-08 17:38:07 +0200 (Mon, 08 Jun 2009) New Revision: 27035
Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] slight clarifications to previous adverbial changes Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2009-06-08 15:27:48 UTC (rev 27034) +++ docs/Perl6/Spec/S03-operators.pod 2009-06-08 15:38:07 UTC (rev 27035) @@ -47,7 +47,7 @@ X Tight or || ^^ // min max R Conditional ?? !! ff fff R Item assignment = := ::= => += -= **= xx= .= - L Loose unary true not :by(2) + L Loose unary true not X Comma operator , p5=> : X List infix Z minmax X X~ X* Xeqv ... R List prefix print push say die map substr ... [+] [*] any $ @ @@ -1344,9 +1344,10 @@ =head1 Adverbs -Operator adverbs -are parsed as trailing unary operators at this precedence level, -just tighter than item assignment. (They're not officially "postfix" operators +Operator adverbs are special-cased in the grammar, but give +the appearance of being parsed as trailing unary operators at a +pseudo-precedence level slightly tighter than item assignment. +(They're not officially "postfix" operators because those require the absense of whitespace, and these allow whitespace. These adverbs insert themselves in the spot where the parser is expecting an infix operator, but the parser continues to look for