summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorJoshua Pritikin <joshua.pritikin@db.com>1998-06-14 10:03:15 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-06-15 05:32:01 +0000
commit1163b5c41f1e1e2856ca82fef1598bfbb6c54d72 (patch)
tree5b79b14d3fdae82835bb4e3561173110803f64d4 /pp_ctl.c
parentf55ee38a033ce570145fdd38bb9f09acf59d37cd (diff)
downloadperl-1163b5c41f1e1e2856ca82fef1598bfbb6c54d72.tar.gz
added patch, fixed typo, reworked documentation
Message-Id: <H00000e500071aa3@MHS> Subject: [PATCH 5.004_66] JMPENV! p4raw-id: //depot/perl@1135
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 9b924bc0f8..ac2ddfc49d 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2015,7 +2015,7 @@ PP(pp_goto)
if (top_env->je_prev) {
restartop = retop;
- JMPENV_JUMP(3);
+ JMPENV_JUMP(JMP_EXCEPTION);
}
RETURNOP(retop);
@@ -2110,7 +2110,7 @@ STATIC OP *
docatch(OP *o)
{
dTHR;
- int ret;
+ int jmpstat;
OP *oldop = op;
dJMPENV;
@@ -2119,14 +2119,14 @@ docatch(OP *o)
assert(CATCH_GET == TRUE);
DEBUG_l(deb("Setting up local jumplevel %p, was %p\n", &cur_env, top_env));
#endif
- JMPENV_PUSH(ret);
- switch (ret) {
+ JMPENV_PUSH(jmpstat);
+ switch (jmpstat) {
default: /* topmost level handles it */
JMPENV_POP;
op = oldop;
- JMPENV_JUMP(ret);
+ JMPENV_JUMP(jmpstat);
/* NOTREACHED */
- case 3:
+ case JMP_EXCEPTION:
if (!restartop) {
PerlIO_printf(PerlIO_stderr(), "panic: restartop\n");
break;
@@ -2134,7 +2134,7 @@ docatch(OP *o)
op = restartop;
restartop = 0;
/* FALL THROUGH */
- case 0:
+ case JMP_NORMAL:
CALLRUNOPS();
break;
}