diff options
author | David Mitchell <davem@iabyn.com> | 2013-10-18 17:00:29 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-10-18 17:00:29 +0100 |
commit | d04bf9eb48f4d379a58de5e8ba2f6fbd17b7d27a (patch) | |
tree | 69e5eebc312267d5a1512ca41d4feb8d3dc0ddc3 | |
parent | 61bc22580524a6d92bf31b2046baa6dcc4e400d4 (diff) | |
download | perl-d04bf9eb48f4d379a58de5e8ba2f6fbd17b7d27a.tar.gz |
add comment to foreach toking code
to make it clear what its doing.
-rw-r--r-- | toke.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8034,6 +8034,7 @@ Perl_yylex(pTHX) strnEQ(p, "our", 3) && isSPACE(*(p + 3))) p += 3; p = PEEKSPACE(p); + /* skip optional package name, as in "for my abc $x (..)" */ if (isIDFIRST_lazy_if(p,UTF)) { p = scan_word(p, PL_tokenbuf, sizeof PL_tokenbuf, TRUE, &len); p = PEEKSPACE(p); |