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
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.) */
#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";