Fix #155
This commit is contained in:
parent
4fff6dc635
commit
070bbcdd1d
|
|
@ -301,7 +301,8 @@ private:
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if ((t == tok!"import" && !currentIs(tok!"import") && !currentIs(tok!"}")))
|
else if (t == tok!"import" && !currentIs(tok!"import") && !currentIs(tok!"}")
|
||||||
|
&& !(currentIs(tok!"public") && peekIs(tok!"import")))
|
||||||
{
|
{
|
||||||
simpleNewline();
|
simpleNewline();
|
||||||
currentLineLength = 0;
|
currentLineLength = 0;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
import foo;
|
||||||
|
public import bar;
|
||||||
|
import baz;
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
import foo;
|
||||||
|
public import bar;
|
||||||
|
import baz;
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
import foo;
|
||||||
|
public import bar;
|
||||||
|
import baz;
|
||||||
Loading…
Reference in New Issue