preserve double newline between comments
This commit is contained in:
parent
ebb11b0695
commit
91f804496a
|
@ -171,6 +171,11 @@ private:
|
|||
writeToken();
|
||||
if (i >= tokens.length-1)
|
||||
newline();
|
||||
else if (tokens[i+1].line-1 > tokens[i].line)
|
||||
{
|
||||
newline();
|
||||
newline();
|
||||
}
|
||||
else if (tokens[i+1].line > tokens[i].line)
|
||||
newline();
|
||||
else if (tokens[i+1].type != tok!"{")
|
||||
|
|
Loading…
Reference in New Issue