summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-07 07:10:52 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-07 07:10:52 +0000
commita27f85b3b5aa22c0f009ddabe35728717aaebf3d (patch)
tree147c75d0424877da963b4c0f779d3a3a3840540b
parentaf8c498a3c5921fd79e24d6a33b8c04cc35f453b (diff)
downloadperl-a27f85b3b5aa22c0f009ddabe35728717aaebf3d.tar.gz
add do-not-edit caveats for files generated by opcode.pl
(suggested by Hugo van der Sanden) p4raw-id: //depot/perl@3633
-rw-r--r--opcode.h5
-rwxr-xr-xopcode.pl23
-rw-r--r--pp.sym6
-rw-r--r--pp_proto.h5
4 files changed, 39 insertions, 0 deletions
diff --git a/opcode.h b/opcode.h
index 80506b3e33..5f4acf5517 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1,3 +1,8 @@
+/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by opcode.pl from its data. Any changes made here
+ will be lost!
+*/
+
#define Perl_pp_i_preinc Perl_pp_preinc
#define Perl_pp_i_predec Perl_pp_predec
#define Perl_pp_i_postinc Perl_pp_postinc
diff --git a/opcode.pl b/opcode.pl
index 3718292315..cd0c7ebcb2 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -29,6 +29,11 @@ while (<DATA>) {
$i = 0;
print <<"END";
+/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by opcode.pl from its data. Any changes made here
+ will be lost!
+*/
+
#define Perl_pp_i_preinc Perl_pp_preinc
#define Perl_pp_i_predec Perl_pp_predec
#define Perl_pp_i_postinc Perl_pp_postinc
@@ -216,6 +221,24 @@ unlink "pp.sym";
open PP, '>pp_proto.h' or die "Error creating pp_proto.h: $!";
open PPSYM, '>pp.sym' or die "Error creating pp.sym: $!";
+print PP <<"END";
+/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by opcode.pl from its data. Any changes made here
+ will be lost!
+*/
+
+END
+
+print PPSYM <<"END";
+#
+# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+# This file is built by opcode.pl from its data. Any changes made here
+# will be lost!
+#
+
+END
+
+
for (sort keys %ckname) {
print PP "PERL_CKDEF(Perl_$_)\n";
print PPSYM "Perl_$_\n";
diff --git a/pp.sym b/pp.sym
index 1d8513a097..a67838898d 100644
--- a/pp.sym
+++ b/pp.sym
@@ -1,3 +1,9 @@
+#
+# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+# This file is built by opcode.pl from its data. Any changes made here
+# will be lost!
+#
+
Perl_ck_anoncode
Perl_ck_bitop
Perl_ck_concat
diff --git a/pp_proto.h b/pp_proto.h
index 7f253d7162..efac700dd8 100644
--- a/pp_proto.h
+++ b/pp_proto.h
@@ -1,3 +1,8 @@
+/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by opcode.pl from its data. Any changes made here
+ will be lost!
+*/
+
PERL_CKDEF(Perl_ck_anoncode)
PERL_CKDEF(Perl_ck_bitop)
PERL_CKDEF(Perl_ck_concat)