summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-08-22 22:35:28 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-23 00:09:34 -0700
commit1d894b9f1f8661108648de072cb25d2979a9528e (patch)
treec48f29be2a06faf83261c106aa34dd7691e24027 /toke.c
parent9cf272522da1fe871e57b0a75cc3322904a5276e (diff)
downloadperl-1d894b9f1f8661108648de072cb25d2979a9528e.tar.gz
toke.c: Remove commented-out code
This ‘if(){’ has been commented out since it was added in 5db068806. Presumably the intent was to make the special mad code specific to PL_madskills at some point and have mad builds running without PL_madskills follow the same code as regular builds (the *s = '\0' and PL_bufend assignments). Since then, though, the standard code has changed to match the mad code. The next commit will merge them.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/toke.c b/toke.c
index 53a691a42a..fd1df9d811 100644
--- a/toke.c
+++ b/toke.c
@@ -5593,7 +5593,6 @@ Perl_yylex(pTHX)
s = SKIPSPACE0(s);
}
else {
-/* if (PL_madskills && PL_lex_formbrack) { */
d = s;
while (d < PL_bufend && *d != '\n')
d++;
@@ -5615,9 +5614,6 @@ Perl_yylex(pTHX)
sv_catpvn(PL_thiswhite, s, d - s);
}
s = d;
-/* }
- *s = '\0';
- PL_bufend = s; */
}
#else
while (s < PL_bufend && *s != '\n')