diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-01-01 21:34:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-01-01 21:34:52 +0000 |
commit | a23c4656ac4779ee705f766915428d5b91e620df (patch) | |
tree | 46f5ab4580e9cc57ec72c86d828363163cba9db6 /toke.c | |
parent | c8ef6a4b35e0deead3fe32f663ce60634111037f (diff) | |
download | perl-a23c4656ac4779ee705f766915428d5b91e620df.tar.gz |
Concatenate some string constants
p4raw-id: //depot/perl@23728
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |