mirror of https://github.com/YosysHQ/yosys.git
Simplified log_spacer() code
This commit is contained in:
parent
a0dff87a57
commit
33a22f8768
|
@ -289,12 +289,8 @@ void log_cmd_error(const char *format, ...)
|
|||
|
||||
void log_spacer()
|
||||
{
|
||||
while (log_newline_count < 2) {
|
||||
int old_log_newline_count = log_newline_count;
|
||||
log("\n");
|
||||
if (old_log_newline_count >= log_newline_count)
|
||||
break;
|
||||
}
|
||||
if (log_newline_count < 2) log("\n");
|
||||
if (log_newline_count < 2) log("\n");
|
||||
}
|
||||
|
||||
void log_push()
|
||||
|
|
Loading…
Reference in New Issue