This commit is contained in:
Hackerpilot 2015-03-31 15:08:44 -07:00
parent 469da17c36
commit e233912a34
4 changed files with 15 additions and 1 deletions

View File

@ -295,7 +295,7 @@ private:
{ {
break; break;
} }
else if ((t == tok!"import" && !currentIs(tok!"import"))) else if ((t == tok!"import" && !currentIs(tok!"import") && !currentIs(tok!"}")))
{ {
write("\n"); write("\n");
currentLineLength = 0; currentLineLength = 0;

View File

@ -0,0 +1,5 @@
private
{
import std.process;
import std.c.windows.windows;
}

5
tests/issue0114.d Normal file
View File

@ -0,0 +1,5 @@
private
{
import std.process;
import std.c.windows.windows;
}

View File

@ -0,0 +1,4 @@
private {
import std.process;
import std.c.windows.windows;
}