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