summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-03 12:28:05 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-03 12:28:05 +0000
commit7d07dbc24d4d5bd5fee59acddff905153f4258bd (patch)
tree4d26b5c42df68de932b69fc007fba8417ea1ad2d /op.c
parent72aaf6313309039c851862ad50ee168cb9cdf42b (diff)
downloadperl-7d07dbc24d4d5bd5fee59acddff905153f4258bd.tar.gz
Rename RESTART to INIT and associated changes
p4raw-id: //depot/perl@49
Diffstat (limited to 'op.c')
-rw-r--r--op.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/op.c b/op.c
index 4c2f5fb228..4e8fa1dddb 100644
--- a/op.c
+++ b/op.c
@@ -3510,10 +3510,10 @@ OP *block;
av_store(endav, 0, (SV *)cv);
GvCV(gv) = 0;
}
- else if (strEQ(s, "RESTART") && !error_count) {
- if (!restartav)
- restartav = newAV();
- av_push(restartav, SvREFCNT_inc(cv));
+ else if (strEQ(s, "INIT") && !error_count) {
+ if (!initav)
+ initav = newAV();
+ av_push(initav, SvREFCNT_inc(cv));
}
}
@@ -3608,10 +3608,10 @@ char *filename;
av_store(endav, 0, (SV *)cv);
GvCV(gv) = 0;
}
- else if (strEQ(s, "RESTART")) {
- if (!restartav)
- restartav = newAV();
- av_push(restartav, (SV *)cv);
+ else if (strEQ(s, "INIT")) {
+ if (!initav)
+ initav = newAV();
+ av_push(initav, (SV *)cv);
}
}
else