aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index b6797192..3eca03bd 100644
--- a/profile.c
+++ b/profile.c
@@ -932,7 +932,8 @@ cleanup:
if (pc->nexti->opcode == Op_no_op) { /* no following else */
indent(SPACEOVER);
fprintf(prof_fp, "}");
- if (pc->nexti->nexti->opcode != Op_comment)
+ if (pc->nexti->nexti->opcode != Op_comment
+ || pc->nexti->nexti->memory->comment_type == FULL_COMMENT)
fprintf(prof_fp, "\n");
/* else
It will be printed at the top. */