diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-16 09:19:25 +0000 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2021-10-15 09:28:27 -0400 |
commit | ebb7bd1b0e2c6d7fb94fe2cec384474e18ffb4a1 (patch) | |
tree | 29e43eaf6d0a7a8b00421990fa92506d212a814b /perly.act | |
parent | b1ed63167c53cf3d3caefb49adc247668a47c12f (diff) | |
download | perl-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.act | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: */ |