summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-02-19 17:04:52 +0000
committerDavid Mitchell <davem@iabyn.com>2018-02-19 22:06:49 +0000
commit789a38b60994f42b44e183fe51a1c5e78fe2ac9e (patch)
treef66ae917fdaa07512eb60a0da81e4ce37381e1eb
parent55b62dee2d8dffa7b36b3b613ee4727fbefdb9e3 (diff)
downloadperl-789a38b60994f42b44e183fe51a1c5e78fe2ac9e.tar.gz
S_maybe_multiconcat(): fix some code comments
various typos and thinkos
-rw-r--r--op.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/op.c b/op.c
index c6f228b2e0..b94553f410 100644
--- a/op.c
+++ b/op.c
@@ -3204,16 +3204,16 @@ S_maybe_multiconcat(pTHX_ OP *o)
OP *prev;
/* set prev to the sibling *before* the arg to be cut out,
- * e.g.:
+ * e.g. when cutting EXPR:
*
* |
- * kid= CONST
+ * kid= CONCAT
* |
- * prev= CONST -- EXPR
+ * prev= CONCAT -- EXPR
* |
*/
if (argp == args && kid->op_type != OP_CONCAT) {
- /* in e.g. '$x . = f(1)' there's no RHS concat tree
+ /* in e.g. '$x .= f(1)' there's no RHS concat tree
* so the expression to be cut isn't kid->op_last but
* kid itself */
OP *o1, *o2;