aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorAntonio Giovanni Colombo <azc100@gmail.com>2020-08-16 21:25:30 +0200
committerAntonio Giovanni Colombo <azc100@gmail.com>2020-08-16 21:25:30 +0200
commit87761102eb08df817871b17f56041428e88efb12 (patch)
treee5575279f26c44b485939140f03d261aa6e80062 /profile.c
parent65cb5e20a94c407eab227bbfe78bac5f86d9d808 (diff)
parentaf190c94590e340fcb5918a6ebd245169d5f1000 (diff)
downloadegawk-87761102eb08df817871b17f56041428e88efb12.tar.gz
egawk-87761102eb08df817871b17f56041428e88efb12.tar.bz2
egawk-87761102eb08df817871b17f56041428e88efb12.zip
Merge branch 'feature/docit' of ssh://git.sv.gnu.org/srv/git/gawk into feature/docit
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/profile.c b/profile.c
index f959c228..44e171fc 100644
--- a/profile.c
+++ b/profile.c
@@ -2059,6 +2059,9 @@ pp_namespace(const char *name, INSTRUCTION *comment)
// info saved in Op_namespace instructions.
current_namespace = name;
+ // force newline, could be after a comment
+ fprintf(prof_fp, "\n");
+
if (do_profile)
indent(SPACEOVER);