aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-02-10 22:22:11 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-02-10 22:22:11 +0200
commitb3dcca92ca8160c07dad32617339fc5d3c636425 (patch)
tree0b6d1056c73cfe2808e6f55bf35ab6d6d3b1dce9 /profile.c
parent6782216a8b5464bb82e6c155a511841123a763c7 (diff)
downloadegawk-b3dcca92ca8160c07dad32617339fc5d3c636425.tar.gz
egawk-b3dcca92ca8160c07dad32617339fc5d3c636425.tar.bz2
egawk-b3dcca92ca8160c07dad32617339fc5d3c636425.zip
Bug fix in profile.c.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile.c b/profile.c
index 233bca0f..2cb9e159 100644
--- a/profile.c
+++ b/profile.c
@@ -226,6 +226,7 @@ pprint(INSTRUCTION *startp, INSTRUCTION *endp, bool in_for_header)
if (do_profile && ! rule_count[rule]++)
fprintf(prof_fp, _("\t# Rule(s)\n\n"));
ip1 = pc->nexti;
+ indent(ip1->exec_count);
if (ip1 != (pc + 1)->firsti) { /* non-empty pattern */
pprint(ip1->nexti, (pc + 1)->firsti, false);
/* Allow for case where the "pattern" is just a comment */