Fix #219
This commit is contained in:
parent
98f443d3f1
commit
268657831b
|
|
@ -563,6 +563,8 @@ private:
|
|||
if (currentIs(tok!"("))
|
||||
{
|
||||
writeParens(false);
|
||||
if (tokens[index].type == tok!"{")
|
||||
return;
|
||||
if (index < tokens.length && tokens[index - 1].line < tokens[index].line)
|
||||
newline();
|
||||
else
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
@OneOf("group1")
|
||||
{
|
||||
JSONValue[string] fred;
|
||||
bool mertz;
|
||||
bool ethel;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
@OneOf("group1")
|
||||
{
|
||||
JSONValue[string] fred;
|
||||
bool mertz;
|
||||
bool ethel;
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
@OneOf("group1") {
|
||||
JSONValue[string] fred;
|
||||
bool mertz;
|
||||
bool ethel;
|
||||
}
|
||||
Loading…
Reference in New Issue