summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-09-25 03:51:14 -0500
committerJesse Luehrs <doy@tozt.net>2012-09-25 09:09:23 -0500
commit04ff073f4b6c9f7c5b178bb492893b4dd5053b6c (patch)
tree1307e6d9865680dd082c31489682efde574af07a /perly.y
parente9d2327de9f57c23ca9f4b2b17818e696b0b031e (diff)
downloadperl-04ff073f4b6c9f7c5b178bb492893b4dd5053b6c.tar.gz
fix regen_perly.pl for bison 2.6
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/perly.y b/perly.y
index 463e3daea4..58c4d81380 100644
--- a/perly.y
+++ b/perly.y
@@ -997,7 +997,7 @@ termbinop: term ASSIGNOP term /* $x = $y */
op = (UNOP*)op->op_first; /* get to flip */
op = (UNOP*)op->op_first; /* get to range */
token_getmad($2,(OP*)op,'o');
- })
+ });
}
| term ANDAND term /* $x && $y */
{ $$ = newLOGOP(OP_AND, 0, $1, $3);
@@ -1233,7 +1233,7 @@ term : termbinop
}
token_getmad($2,op,'(');
token_getmad($4,op,')');
- })
+ });
}
| NOAMP subname optlistexpr /* foo(@args) */
{ $$ = newUNOP(OP_ENTERSUB, OPf_STACKED,
@@ -1347,7 +1347,7 @@ myattrterm: MY myterm myattrlist
token_getmad($1,$$,'d');
append_madprops($3->op_madprop, $$, 'a');
$3->op_madprop = 0;
- )
+ );
}
| MY myterm
{ $$ = localize($2,IVAL($1));