diff options
author | Joshua Pritikin <joshua.pritikin@db.com> | 1998-06-14 10:03:15 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-15 05:32:01 +0000 |
commit | 1163b5c41f1e1e2856ca82fef1598bfbb6c54d72 (patch) | |
tree | 5b79b14d3fdae82835bb4e3561173110803f64d4 /pp_ctl.c | |
parent | f55ee38a033ce570145fdd38bb9f09acf59d37cd (diff) | |
download | perl-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.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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; } |