Fix #212
This commit is contained in:
parent
75c3278a32
commit
65a55493da
|
|
@ -885,7 +885,7 @@ private:
|
|||
write(" ");
|
||||
indents.push(tok!"enum");
|
||||
writeToken();
|
||||
if (!currentIs(tok!":"))
|
||||
if (!currentIs(tok!":") && !currentIs(tok!"{"))
|
||||
write(" ");
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
enum
|
||||
{
|
||||
x = 3
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
enum
|
||||
{
|
||||
x = 3
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
enum {
|
||||
x = 3
|
||||
}
|
||||
Loading…
Reference in New Issue