diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-09 10:54:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-09 11:46:33 +0000 |
commit | 897d398936dd2fc088a265fba2a7b62fa97ed458 (patch) | |
tree | 38e2294c657822f375315f923e1daec3364e9ed0 /Cross | |
parent | 146326cb2bb55642adc3a8dbb7adf592f2e2e4e3 (diff) | |
download | perl-897d398936dd2fc088a265fba2a7b62fa97ed458.tar.gz |
Generate pp_* prototypes in pp_proto.h, and remove pp.sym
Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13
locations that relied on them.
regen/opcode.pl now generates prototypes for the PP functions directly, into
pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads
this, removing the only ordering dependency in the regen scripts. opcode.pl
is now responsible for prototypes for pp_* functions. (embed.pl remains
responsible for ck_* functions, reading from regen/opcodes)
Diffstat (limited to 'Cross')
-rw-r--r-- | Cross/Makefile-cross-SH | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH index 21f83275eb..d41f1bdd9c 100644 --- a/Cross/Makefile-cross-SH +++ b/Cross/Makefile-cross-SH @@ -839,7 +839,7 @@ perly.h: perly.y # No compat3.sym here since and including the 5.004_50. # No interp.sym since 5.005_03. -SYM = global.sym globvar.sym perlio.sym pp.sym +SYM = global.sym globvar.sym perlio.sym SYMH = perlvars.h intrpvar.h @@ -848,9 +848,8 @@ CHMOD_W = chmod +w # The following files are generated automatically # embed.pl: proto.h embed.h embedvar.h global.sym # perlapi.h perlapi.c -# [* embed.pl needs pp.sym generated by opcode.pl! *] # keywords.pl: keywords.h -# opcode.pl: opcode.h opnames.h pp.sym +# opcode.pl: opcode.h opnames.h pp_proto.h # regcomp.pl: regnodes.h # warnings.pl: warnings.h lib/warnings.pm # The correct versions should be already supplied with the perl kit, @@ -860,7 +859,7 @@ CHMOD_W = chmod +w # with your existing copy of perl # (make regen_headers is kept for backwards compatibility) -AUTOGEN_FILES = keywords.h opcode.h opnames.h pp.sym proto.h \ +AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h proto.h \ embed.h embedvar.h global.sym \ perlapi.h perlapi.c regnodes.h \ warnings.h lib/warnings.pm @@ -966,7 +965,7 @@ _mopup: -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump -rm -f perl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl - -rm -f opcode.h-old opnames.h-old pp.sym-old + -rm -f opcode.h-old opnames.h-old pp_proto.h-old -rm -f config.over # Do not 'make _tidy' directly. |