summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-07 09:25:24 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-07 09:25:24 +0000
commitf23102e2d635682f5818275abd91b9deefde470e (patch)
tree7a900da7ce36a01ca6766a6172c7f23fa4a30922 /toke.c
parentd052521ac15ab4bed8ae26dfa1c8e09c87be6d3c (diff)
downloadperl-f23102e2d635682f5818275abd91b9deefde470e.tar.gz
Remove the 'err' keyword
p4raw-id: //depot/perl@31812
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/toke.c b/toke.c
index 428a7c2a45..be7bacf564 100644
--- a/toke.c
+++ b/toke.c
@@ -4235,7 +4235,6 @@ Perl_yylex(pTHX)
switch (tmp) {
case KEY_or:
case KEY_and:
- case KEY_err:
case KEY_for:
case KEY_unless:
case KEY_if:
@@ -5922,9 +5921,6 @@ Perl_yylex(pTHX)
case KEY_eof:
UNI(OP_EOF);
- case KEY_err:
- OPERATOR(DOROP);
-
case KEY_exp:
UNI(OP_EXP);
@@ -7328,14 +7324,6 @@ Perl_keyword (pTHX_ const char *name, I32 len, bool all_keywords)
goto unknown;
- case 'r':
- if (name[2] == 'r')
- { /* err */
- return (all_keywords || FEATURE_IS_ENABLED("err") ? -KEY_err : 0);
- }
-
- goto unknown;
-
case 'x':
if (name[2] == 'p')
{ /* exp */