summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-26 19:10:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-26 19:10:26 +0000
commit7d30b5c4c60a798b772f5d7bd3b85d21016359c7 (patch)
treeee12691ce71882115a98a9546a7a6b953d0d055a /toke.c
parentdfdd1393a5b8826d427524003a858b7556c66371 (diff)
downloadperl-7d30b5c4c60a798b772f5d7bd3b85d21016359c7.tar.gz
s/STOP/CHECK/ blocks
p4raw-id: //depot/perl@4905
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/toke.c b/toke.c
index 6f28ee1e6d..f2f8fa5e5b 100644
--- a/toke.c
+++ b/toke.c
@@ -3858,9 +3858,9 @@ Perl_yylex(pTHX)
case KEY_AUTOLOAD:
case KEY_DESTROY:
case KEY_BEGIN:
- case KEY_END:
- case KEY_STOP:
+ case KEY_CHECK:
case KEY_INIT:
+ case KEY_END:
if (PL_expect == XSTATE) {
s = PL_bufptr;
goto really_sub;
@@ -4921,6 +4921,7 @@ Perl_keyword(pTHX_ register char *d, I32 len)
break;
case 'C':
if (strEQ(d,"CORE")) return -KEY_CORE;
+ if (strEQ(d,"CHECK")) return KEY_CHECK;
break;
case 'c':
switch (len) {
@@ -5304,9 +5305,6 @@ Perl_keyword(pTHX_ register char *d, I32 len)
break;
}
break;
- case 'S':
- if (strEQ(d,"STOP")) return KEY_STOP;
- break;
case 's':
switch (d[1]) {
case 0: return KEY_s;