[LIB]: Honor conf.suppress_comments in one more case

class__fprintf_cacheline_boundary should only be called if
conf_suppress_comments is not set.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-07-07 14:48:40 -03:00
parent ef3d5d4ab5
commit 84fac64313
1 changed files with 6 additions and 4 deletions

View File

@ -2417,10 +2417,12 @@ size_t class__fprintf(struct class *self, const struct cu *cu,
last_bit_size = pos->bit_size;
}
printed += class__fprintf_cacheline_boundary(last_cacheline, sum,
sum_holes, &newline,
&last_cacheline,
cconf.indent, fp);
if (!cconf.suppress_comments)
printed += class__fprintf_cacheline_boundary(last_cacheline,
sum, sum_holes,
&newline,
&last_cacheline,
cconf.indent, fp);
if (!cconf.emit_stats)
goto out;