aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/profile.c b/profile.c
index 531c6e47..b6797192 100644
--- a/profile.c
+++ b/profile.c
@@ -932,9 +932,10 @@ cleanup:
if (pc->nexti->opcode == Op_no_op) { /* no following else */
indent(SPACEOVER);
fprintf(prof_fp, "}");
-// pc = end_line(pc->nexti);
- end_line(pc->nexti);
- skip_comment = true;
+ if (pc->nexti->nexti->opcode != Op_comment)
+ fprintf(prof_fp, "\n");
+ /* else
+ It will be printed at the top. */
}
/*
* See next case; turn off the flag so that the