diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-07-04 01:36:06 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-07-04 01:36:06 +0000 |
commit | 76b72cf1c23adf9204168227ceee98634e70e688 (patch) | |
tree | ce40428c2dbd6c429c3ffa178084959de7ca7e18 /embed.pl | |
parent | ba4e42d92623c3bf7db4c55472684fb46bbe2b20 (diff) | |
download | perl-76b72cf1c23adf9204168227ceee98634e70e688.tar.gz |
perl 5.003_01: embed.pl
Add banner warning to embed.h to discourage direct changes
Insure that symbols aren't defined once with EMBVED prefix and
again in MULTIPLICITY block
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -3,7 +3,10 @@ open(EM, ">embed.h") || die "Can't create embed.h: $!\n"; print EM <<'END'; -/* This file is derived from global.sym and interp.sym */ +/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + This file is derived from global.sym and interp.sym + Any changes made here will be lost +*/ /* (Doing namespace management portably in C is really gross.) */ @@ -42,6 +45,14 @@ print EM <<'END'; #ifdef MULTIPLICITY +/* Undefine symbols that were defined by EMBED. Somewhat ugly */ + +#undef curcop +#undef envgv +#undef siggv +#undef stack +#undef tainting + END open(INT, "<interp.sym") || die "Can't open interp.sym: $!\n"; |