aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-02-28 05:40:41 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-02-28 20:28:41 +0200
commitbfca1619d658bc30835f4fb29c53ddfe206f4b17 (patch)
treea1681e7ae398314340003ef89884de1b7877ec6e /profile.c
parent56469abd6e78971e8fc6f9eefcfc184d528c5e84 (diff)
downloadegawk-bfca1619d658bc30835f4fb29c53ddfe206f4b17.tar.gz
egawk-bfca1619d658bc30835f4fb29c53ddfe206f4b17.tar.bz2
egawk-bfca1619d658bc30835f4fb29c53ddfe206f4b17.zip
Fix copy-paste error in profiler's else handling.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 3d0b1cbc..d002e237 100644
--- a/profile.c
+++ b/profile.c
@@ -885,7 +885,7 @@ cleanup:
&& pc->branch_end == pc->nexti->nexti->branch_else->lasti) {
pprint(pc->nexti, pc->branch_end, IN_ELSE_IF);
} else {
- fprintf(prof_fp, "{\n", op2str(pc->opcode));
+ fprintf(prof_fp, "{\n");
indent_in();
pprint(pc->nexti, pc->branch_end, NO_PPRINT_FLAGS);
indent_out();