summaryrefslogtreecommitdiff
path: root/perly.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-04-25 09:20:51 +0000
committerRicardo Signes <rjbs@semiotic.systems>2021-10-15 09:28:26 -0400
commite92ce056f2022a3f96487b1b5a1862a3bf9c159c (patch)
tree5d14a9931bd14077170525a66122cd9a67bf47fc /perly.h
parent6ce22ce7e7abeb2ba69129f645e82f16d77fbd89 (diff)
downloadperl-e92ce056f2022a3f96487b1b5a1862a3bf9c159c.tar.gz
Implement n-at-a-time for loops.
For example, this now works: for my ($key, $value) (%hash) { ... } Only for scalars declared with my as a list in the for loop statement. As many as you want (unless you want more than 4294967296).
Diffstat (limited to 'perly.h')
-rw-r--r--perly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.h b/perly.h
index 7ea9cd1c26..ac6e3ff4dc 100644
--- a/perly.h
+++ b/perly.h
@@ -224,6 +224,6 @@ int yyparse (void);
/* Generated from:
- * 0202d23d96cdf036122334ebe94b43491715e1437181e64039e69455620d95a4 perly.y
+ * e87297a1b718c1eb135698aef6d0fe1da0c008db89e13c13a2f746afc9dba3e3 perly.y
* acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
* ex: set ro: */