Fix #95
This commit is contained in:
parent
1ef17c5d78
commit
1748516044
|
|
@ -982,7 +982,7 @@ private:
|
|||
indents.pop();
|
||||
indents.push(tok!"{");
|
||||
if (index == 1 || peekBackIs(tok!":") || peekBackIs(tok!"{")
|
||||
|| peekBackIs(tok!"}") || peekBackIs(tok!")"))
|
||||
|| peekBackIs(tok!"}") || peekBackIs(tok!")") || peekBackIs(tok!";"))
|
||||
{
|
||||
indentLevel = indents.indentSize - 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
unittest
|
||||
{
|
||||
if (!fdmatch)
|
||||
goto Lfd;
|
||||
{}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
unittest
|
||||
{
|
||||
if (!fdmatch)
|
||||
goto Lfd;
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue