summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-03-26 01:24:24 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-03-26 01:24:24 +0000
commit30173ab50ea1d6ed72178a00bc9f2b917b4b37da (patch)
tree7d59a83e0c5afc8ac3bc9b433b7f7735241e0f76 /perly.y
parentec5f3c78a7539e41900be465ef86bff34f621939 (diff)
downloadperl-30173ab50ea1d6ed72178a00bc9f2b917b4b37da.tar.gz
fix some comments in perly.y
p4raw-id: //depot/perl@22592
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/perly.y b/perly.y
index f4a83442ef..9224537979 100644
--- a/perly.y
+++ b/perly.y
@@ -648,7 +648,7 @@ term : termbinop
{ $$ = newUNOP(OP_NOT, 0, scalar($2)); }
| UNIOP /* Unary op, $_ implied */
{ $$ = newOP($1, 0); }
- | UNIOP block /* eval { foo }, I *think* */
+ | UNIOP block /* eval { foo } */
{ $$ = newUNOP($1, 0, $2); }
| UNIOP term /* Unary op */
{ $$ = newUNOP($1, 0, $2); }
@@ -666,9 +666,9 @@ term : termbinop
{ $$ = newOP($1, OPf_SPECIAL); }
| FUNC1 '(' expr ')' /* not($foo) */
{ $$ = newUNOP($1, 0, $3); }
- | PMFUNC '(' term ')' /* split (/foo/) */
+ | PMFUNC '(' term ')' /* /foo/ */
{ $$ = pmruntime($1, $3, Nullop); }
- | PMFUNC '(' term ',' term ')' /* split (/foo/,$bar) */
+ | PMFUNC '(' term ',' term ')' /* s/foo/bar/ (or tr) */
{ $$ = pmruntime($1, $3, $5); }
| WORD
| listop