summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-03-07 03:46:36 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-09 00:00:00 +0000
commitb25809da6d2fc5e61497c7df6731abd5b4a2b2a8 (patch)
treeec3ad8a050aa53b233543975742e2d7877b40acd /perly.y
parent51aa1f50381e5da72a88a12f8d8c09a5fc718cf7 (diff)
downloadperl-b25809da6d2fc5e61497c7df6731abd5b4a2b2a8.tar.gz
Fix label on C<for(;;)> statement
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/perly.y b/perly.y
index b181d5fb39..3bf1fdaf60 100644
--- a/perly.y
+++ b/perly.y
@@ -208,8 +208,8 @@ loop : label WHILE '(' remember mtexpr ')' mblock cont
/* basically fake up an initialize-while lineseq */
{ copline = $2;
$$ = block_end($4,
- append_elem(OP_LINESEQ, scalar($5),
- newSTATEOP(0, $1,
+ newSTATEOP(0, $1,
+ append_elem(OP_LINESEQ, scalar($5),
newWHILEOP(0, 1, (LOOP*)Nullop,
scalar($7),
$11, scalar($9))))); }