summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorBranislav ZahradnĂ­k <barney@cpan.org>2020-12-11 17:19:21 +0100
committerKarl Williamson <khw@cpan.org>2020-12-27 09:46:09 -0700
commit6e9e8105f2afbb3cf4a380f4e9e6db6ea28d1e1c (patch)
treea851f694acfcfe60ec5eff8796759e76f3416ccd /perly.y
parentbfa838ccb94dd637ff52d23247002d8322fc34f3 (diff)
downloadperl-6e9e8105f2afbb3cf4a380f4e9e6db6ea28d1e1c.tar.gz
Cleanup remnants of 'KEY_err' removal
f23102e2d6 removed DOROP token (KEY_err) but related grammar remained
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/perly.y b/perly.y
index 75a942e036..bd65eb44de 100644
--- a/perly.y
+++ b/perly.y
@@ -102,7 +102,7 @@
%nonassoc <ival> PREC_LOW
%nonassoc LOOPEX
-%left <ival> OROP DOROP
+%left <ival> OROP
%left <ival> ANDOP
%right <ival> NOTOP
%nonassoc LSTOP LSTOPSUB
@@ -901,8 +901,6 @@ expr : expr[lhs] ANDOP expr[rhs]
{ $$ = newLOGOP(OP_AND, 0, $lhs, $rhs); }
| expr[lhs] OROP[operator] expr[rhs]
{ $$ = newLOGOP($operator, 0, $lhs, $rhs); }
- | expr[lhs] DOROP expr[rhs]
- { $$ = newLOGOP(OP_DOR, 0, $lhs, $rhs); }
| listexpr %prec PREC_LOW
;