This commit is contained in:
Hackerpilot 2015-03-15 04:30:55 -07:00
parent 752674f233
commit 578ded512e
4 changed files with 10 additions and 1 deletions

View File

@ -383,6 +383,7 @@ private:
case tok!"enum":
indents.push(tok!"enum");
writeToken();
if (!currentIs(tok!":"))
write(" ");
break;
default:

View File

@ -0,0 +1,3 @@
enum : int
{
}

3
tests/issue0106.d Normal file
View File

@ -0,0 +1,3 @@
enum:int
{
}

View File

@ -0,0 +1,2 @@
enum : int {
}