summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:54:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:54:32 +0000
commitae58f265e7fbff559e896a4f408bc1e68b2241e1 (patch)
treecdaef0e07dbe40b215f9998268a992371fd31a05 /perl.c
parent2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f (diff)
downloadperl-ae58f265e7fbff559e896a4f408bc1e68b2241e1.tar.gz
Oops.
p4raw-id: //depot/perl@20647
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl.c b/perl.c
index 0a3ec0f47f..0569d5b426 100644
--- a/perl.c
+++ b/perl.c
@@ -2877,12 +2877,11 @@ S_open_script(pTHX_ char *scriptname, bool dosearch, SV *sv, int *fdscript)
}
else if (PL_preprocess) {
char *cpp_cfg = CPPSTDIN;
-
- if (cpp_cfg[0] == 0) /* PERL_MICRO? */
- Perl_croak(aTHX_ "Can't run with cpp -P with CPPSTDIN undefined");
SV *cpp = newSVpvn("",0);
SV *cmd = NEWSV(0,0);
+ if (cpp_cfg[0] == 0) /* PERL_MICRO? */
+ Perl_croak(aTHX_ "Can't run with cpp -P with CPPSTDIN undefined");
if (strEQ(cpp_cfg, "cppstdin"))
Perl_sv_catpvf(aTHX_ cpp, "%s/", BIN_EXP);
sv_catpv(cpp, cpp_cfg);