summaryrefslogtreecommitdiff
path: root/perly.act
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-16 09:19:25 +0000
committerRicardo Signes <rjbs@semiotic.systems>2021-10-15 09:28:27 -0400
commitebb7bd1b0e2c6d7fb94fe2cec384474e18ffb4a1 (patch)
tree29e43eaf6d0a7a8b00421990fa92506d212a814b /perly.act
parentb1ed63167c53cf3d3caefb49adc247668a47c12f (diff)
downloadperl-ebb7bd1b0e2c6d7fb94fe2cec384474e18ffb4a1.tar.gz
for my ($foo,,, $bar) { ... } should parse as ($foo, $bar)
Multiple commas between the lexicals in the list shouldn't change the parsing.
Diffstat (limited to 'perly.act')
-rw-r--r--perly.act4
1 files changed, 2 insertions, 2 deletions
diff --git a/perly.act b/perly.act
index 280c1471ba..d70df44cdc 100644
--- a/perly.act
+++ b/perly.act
@@ -2070,7 +2070,7 @@ case 2:
case 276:
#line 1387 "perly.y"
- { parser->in_my = 0; (yyval.opval) = (ps[-1].val.opval); }
+ { (yyval.opval) = (ps[-1].val.opval); }
break;
@@ -2183,6 +2183,6 @@ case 2:
/* Generated from:
- * e87297a1b718c1eb135698aef6d0fe1da0c008db89e13c13a2f746afc9dba3e3 perly.y
+ * 15f94e78bed944fe5a2da8ead4096a620ad573562953c479348c65e9eaa51629 perly.y
* acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
* ex: set ro: */