summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2016-10-16 03:03:23 +0200
committerLukas Mai <l.mai@web.de>2016-10-20 12:41:12 +0200
commit08ec993641fc392ebbdcbfa6ddecbd8373475d52 (patch)
tree362b386a1ab478bb5f1c1b0f5904d72a1bd737da /toke.c
parent3cc6a05eedade6f51526feb18c12356b0589d77a (diff)
downloadperl-08ec993641fc392ebbdcbfa6ddecbd8373475d52.tar.gz
toke.c: get rid of "if (0)"
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toke.c b/toke.c
index abf80d2d08..26de70759f 100644
--- a/toke.c
+++ b/toke.c
@@ -6907,12 +6907,10 @@ Perl_yylex(pTHX)
reserved_word:
switch (tmp) {
- default: /* not a keyword */
/* Trade off - by using this evil construction we can pull the
variable gv into the block labelled keylookup. If not, then
we have to give it function scope so that the goto from the
earlier ':' case doesn't bypass the initialisation. */
- if (0) {
just_a_word_zero_gv:
sv = NULL;
cv = NULL;
@@ -6922,7 +6920,7 @@ Perl_yylex(pTHX)
orig_keyword = 0;
lex = 0;
off = 0;
- }
+ default: /* not a keyword */
just_a_word: {
int pkgname = 0;
const char lastchar = (PL_bufptr == PL_oldoldbufptr ? 0 : PL_bufptr[-1]);