diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-31 18:34:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-31 18:34:59 +0000 |
commit | 65bca31a689e744d19bc76458567e5ae895ca3dd (patch) | |
tree | b5169e63a1f207d980ba8fa5cc0bd20a23f53b56 /pp.c | |
parent | 836ede62bb86a610a76a79ff480e4916d1c82de1 (diff) | |
download | perl-65bca31a689e744d19bc76458567e5ae895ca3dd.tar.gz |
Replace the 3 currently "unreachable" ops with a single op body
unimplemented_op() that panics descriptively if ever reached.
p4raw-id: //depot/perl@25937
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4785,6 +4785,13 @@ PP(pp_lock) RETURN; } + +PP(unimplemented_op) +{ + DIE(aTHX_ "panic: unimplemented op %s (#%d) called", OP_NAME(PL_op), + PL_op->op_type); +} + /* * Local variables: * c-indentation-style: bsd |