Merge pull request #442 from kotet/issue-361
Fix #361 merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
This commit is contained in:
commit
4fea171d2f
|
@ -473,7 +473,7 @@ private:
|
|||
else if (!currentIs(tok!"{"))
|
||||
write(" ");
|
||||
}
|
||||
else if (!currentIs(tok!"{"))
|
||||
else if (!currentIs(tok!"{") && !currentIs(tok!"in") && !currentIs(tok!"out"))
|
||||
{
|
||||
if (currentIs(tok!")") && indents.topIs(tok!","))
|
||||
indents.pop();
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
void foo() /**/
|
||||
in
|
||||
{
|
||||
}
|
||||
body
|
||||
{
|
||||
}
|
||||
|
||||
void bar() /**/
|
||||
out
|
||||
{
|
||||
}
|
||||
body
|
||||
{
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
void foo() /**/
|
||||
in
|
||||
{
|
||||
}
|
||||
body
|
||||
{
|
||||
}
|
||||
|
||||
void bar() /**/
|
||||
out
|
||||
{
|
||||
}
|
||||
body
|
||||
{
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
void foo() /**/
|
||||
in {
|
||||
}
|
||||
body {
|
||||
}
|
||||
|
||||
void bar() /**/
|
||||
out {
|
||||
}
|
||||
body {
|
||||
}
|
Loading…
Reference in New Issue