parent
b227c66146
commit
b69e966df6
|
@ -458,7 +458,10 @@ private:
|
||||||
else if (currentIs(tok!"{") && config.dfmt_brace_style == BraceStyle.allman)
|
else if (currentIs(tok!"{") && config.dfmt_brace_style == BraceStyle.allman)
|
||||||
break;
|
break;
|
||||||
else if (t == tok!"import" && !currentIs(tok!"import")
|
else if (t == tok!"import" && !currentIs(tok!"import")
|
||||||
&& !currentIs(tok!"}") && !(currentIs(tok!"public")
|
&& !currentIs(tok!"}")
|
||||||
|
&& !((currentIs(tok!"public")
|
||||||
|
|| currentIs(tok!"private")
|
||||||
|
|| currentIs(tok!"static"))
|
||||||
&& peekIs(tok!"import")) && !indents.topIsOneOf(tok!"if",
|
&& peekIs(tok!"import")) && !indents.topIsOneOf(tok!"if",
|
||||||
tok!"debug", tok!"version"))
|
tok!"debug", tok!"version"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue