Fix formatting for 'final switch'

This commit is contained in:
Hackerpilot 2015-03-08 19:37:17 -07:00
parent 4590dd44b7
commit eac7579e7c
1 changed files with 1 additions and 1 deletions

View File

@ -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"))
{ {