Fix formatting for 'final switch'
This commit is contained in:
parent
4590dd44b7
commit
eac7579e7c
|
@ -297,7 +297,7 @@ private:
|
|||
writeToken();
|
||||
write(" ");
|
||||
writeParens(false);
|
||||
if (currentIs(tok!"switch"))
|
||||
if (currentIs(tok!"switch") || (currentIs(tok!"final") && peekIs(tok!"switch")))
|
||||
write(" ");
|
||||
else if (currentIs(tok!"comment"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue