summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-01 21:34:52 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-01 21:34:52 +0000
commita23c4656ac4779ee705f766915428d5b91e620df (patch)
tree46f5ab4580e9cc57ec72c86d828363163cba9db6 /toke.c
parentc8ef6a4b35e0deead3fe32f663ce60634111037f (diff)
downloadperl-a23c4656ac4779ee705f766915428d5b91e620df.tar.gz
Concatenate some string constants
p4raw-id: //depot/perl@23728
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index 2e652e4a94..8832d08246 100644
--- a/toke.c
+++ b/toke.c
@@ -2631,8 +2631,8 @@ Perl_yylex(pTHX)
PL_doextract = FALSE;
}
if (!PL_in_eval && (PL_minus_n || PL_minus_p)) {
- sv_setpv(PL_linestr,PL_minus_p ? ";}continue{print" : "");
- sv_catpv(PL_linestr,";}");
+ sv_setpv(PL_linestr,PL_minus_p
+ ? ";}continue{print;}" : ";}");
PL_oldoldbufptr = PL_oldbufptr = s = PL_linestart = SvPVX(PL_linestr);
PL_bufend = SvPVX(PL_linestr) + SvCUR(PL_linestr);
PL_last_lop = PL_last_uni = Nullch;