diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-26 19:10:26 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-26 19:10:26 +0000 |
commit | 7d30b5c4c60a798b772f5d7bd3b85d21016359c7 (patch) | |
tree | ee12691ce71882115a98a9546a7a6b953d0d055a /toke.c | |
parent | dfdd1393a5b8826d427524003a858b7556c66371 (diff) | |
download | perl-7d30b5c4c60a798b772f5d7bd3b85d21016359c7.tar.gz |
s/STOP/CHECK/ blocks
p4raw-id: //depot/perl@4905
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |