5 /* This file is derived from global.sym and interp.sym */
7 /* (Doing namespace management portably in C is really gross.) */
11 /* globals we need to hide from the world */
14 sed <global.sym >>embed.h \
17 -e 's/\(.*\)/#define \1 Perl_\1/' \
18 -e 's/\(................ \) /\1/'
20 cat <<'END' >> embed.h
24 /* Put interpreter specific symbols into a struct? */
31 sed <interp.sym >>embed.h \
34 -e 's/\(.*\)/#define \1 (curinterp->I\1)/' \
35 -e 's/\(................ \) /\1/'
37 cat <<'END' >> embed.h
39 #else /* not multiple, so translate interpreter symbols the other way... */
43 sed <interp.sym >>embed.h \
46 -e 's/\(.*\)/#define I\1 \1/' \
47 -e 's/\(................ \) /\1/'
49 cat <<'END' >> embed.h
51 #endif /* MULTIPLICITY */