From b3dcca92ca8160c07dad32617339fc5d3c636425 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 10 Feb 2015 22:22:11 +0200 Subject: Bug fix in profile.c. --- profile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'profile.c') 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 */ -- cgit v1.2.3