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 05:40:41 +0200
commit2f5c47f4b4dae03545168094e504b3657debecf9 (patch)
tree52fd12b55ac617b634f9e66e248aa8448189a4fa /profile.c
parent97ffbd91a1b49725259bb2ddf0d27341d6fd4f60 (diff)
downloadegawk-2f5c47f4b4dae03545168094e504b3657debecf9.tar.gz
egawk-2f5c47f4b4dae03545168094e504b3657debecf9.tar.bz2
egawk-2f5c47f4b4dae03545168094e504b3657debecf9.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 ddc8b9b1..64aeaa9c 100644
--- a/profile.c
+++ b/profile.c
@@ -933,7 +933,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();