diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
commit | 6083e965fac1b272f9ccb491902b24a24ea14122 (patch) | |
tree | d4454d50f6d0ebcf398111f811243876e2dc62d2 /profile.c | |
parent | d36d6c02e9f3277850815f3bf5aec3b22fa54a21 (diff) | |
parent | fc1410099d6ccbb72adb54ecffd0711348706ca4 (diff) | |
download | egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.gz egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.bz2 egawk-6083e965fac1b272f9ccb491902b24a24ea14122.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -373,8 +373,7 @@ pprint(INSTRUCTION *startp, INSTRUCTION *endp, int flags) break; default: - fprintf(stderr, "Got unexpected type %s\n", nodetype2str(m->type)); - cant_happen(); + cant_happen("got unexpected type %s", nodetype2str(m->type)); } switch (pc->opcode) { @@ -581,7 +580,7 @@ cleanup: case Op_K_delete_loop: /* Efficency hack not in effect because of exec_count instruction */ - cant_happen(); + cant_happen("unexpected opcode %s", opcode2str(pc->opcode)); break; case Op_in_array: @@ -1219,7 +1218,7 @@ cleanup: break; default: - cant_happen(); + cant_happen("unexpected opcode %s", opcode2str(pc->opcode)); } if (pc == endp) |