summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-08-21 13:16:59 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-08-24 19:02:56 -0700
commit41e8cbf436fe4165360381067f6fda82f6565690 (patch)
treef0c9806637c97a74fe7f1c9cf752913d1cf11b62 /toke.c
parent2d0e3c969830d8462aa2c3cb9255ecf35a4905b5 (diff)
downloadperl-41e8cbf436fe4165360381067f6fda82f6565690.tar.gz
Expand a comment in toke.c (eliminate ‘why?’)
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 13c7e934df..6ebbcc8915 100644
--- a/toke.c
+++ b/toke.c
@@ -1848,7 +1848,10 @@ S_check_uni(pTHX)
/*
* S_lop
* Build a list operator (or something that might be one). The rules:
- * - if we have a next token, then it's a list operator [why?]
+ * - if we have a next token, then it's a list operator (no parens) for
+ * which the next token has already been parsed; e.g.,
+ * sort foo @args
+ * sort foo (@args)
* - if the next thing is an opening paren, then it's a function
* - else it's a list operator
*/