X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=embed.pl;h=2ccd8b38e667468366afa178e91bbf7fcfc09f2b;hb=04ab2c8763f1a01bee803d3ef65890b775f28c21;hp=f734764590eef00a1f30c7910f55165a2555a9dd;hpb=3c1e9986a4f0cb9d4e7a03af421826eb692ac840;p=p5sagit%2Fp5-mst-13.2.git diff --git a/embed.pl b/embed.pl index f734764..2ccd8b3 100755 --- a/embed.pl +++ b/embed.pl @@ -18,11 +18,30 @@ BEGIN { sub do_not_edit ($) { my $file = shift; + + my $years; + + if ($file eq 'embed.h') { + $years = '1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004'; + } elsif ($file eq 'embedvar.h') { + $years = '1999, 2000, 2001, 2002, 2003, 2004'; + } elsif ($file eq 'global.sym') { + $years = '1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004'; + } elsif ($file eq 'perlapi.c') { + $years = '1999, 2000, 2001'; + } elsif ($file eq 'perlapi.h') { + $years = '1999, 2000, 2001, 2002, 2003, 2004'; + } elsif ($file eq 'proto.h') { + $years = '1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004'; + } + + $years =~ s/1999,/1999,\n / if length $years > 40; + my $warning = <