Do not emit leading spaces on blank lines (#3007)
This commit is contained in:
parent
fb561d925a
commit
eea7e1bd2a
|
|
@ -692,7 +692,7 @@ int V3OutFormatter::endLevels(const char* strg) {
|
|||
}
|
||||
|
||||
void V3OutFormatter::puts(const char* strg) {
|
||||
if (m_prependIndent) {
|
||||
if (m_prependIndent && strg[0] != '\n') {
|
||||
putsNoTracking(indentSpaces(endLevels(strg)));
|
||||
m_prependIndent = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue