aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-10-17 17:42:51 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-10-17 17:42:51 +0300
commit5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da (patch)
tree13b1674f1f5a5e40c5f1cd43f40bf102f35636d9 /profile.c
parentb5f87dcdaff84e5e72684bb1a8fe0160981a66ae (diff)
downloadegawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.tar.gz
egawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.tar.bz2
egawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.zip
Distinguish print $0 from print. Doc updates. Fix case and default.
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 3a4ec04d..7e603dc2 100644
--- a/profile.c
+++ b/profile.c
@@ -957,7 +957,8 @@ cleanup:
fprintf(prof_fp, "\n");
print_comment(pc->comment, indent_level);
}
- }
+ } else
+ fprintf(prof_fp, "\n");
pprint(pc->stmt_start->nexti, pc->stmt_end->nexti, NO_PPRINT_FLAGS);
indent_out();
break;