Fix #111
This commit is contained in:
parent
686a65e9dc
commit
374e155237
|
@ -204,6 +204,13 @@ private:
|
|||
|| currentIs(tok!"characterLiteral"))
|
||||
{
|
||||
writeToken();
|
||||
if (index < tokens.length)
|
||||
{
|
||||
immutable t = tokens[index].type;
|
||||
if (t == tok!"identifier" || isStringLiteral(t) || isNumberLiteral(t)
|
||||
|| t == tok!"characterLiteral")
|
||||
write(" ");
|
||||
}
|
||||
}
|
||||
else if (currentIs(tok!"module") || currentIs(tok!"import"))
|
||||
{
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
struct Test
|
||||
{
|
||||
this(string name, string[] aliasList, string briefDescription, string examDesc,
|
||||
string onOpenDesc, string openDesc, string onCloseDesc, string closeDesc,
|
||||
Flag!"canOpen" canOpen, Flag!"canClose" canClose, Flag!"isOpen" isOpen)
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
struct Test {this(string name,
|
||||
string[] aliasList,
|
||||
string briefDescription,
|
||||
string examDesc,
|
||||
string onOpenDesc,
|
||||
string openDesc,
|
||||
string onCloseDesc,
|
||||
string closeDesc,
|
||||
Flag!"canOpen" canOpen,
|
||||
Flag!"canClose" canClose,
|
||||
Flag!"isOpen" isOpen){}}
|
|
@ -0,0 +1,6 @@
|
|||
struct Test {
|
||||
this(string name, string[] aliasList, string briefDescription, string examDesc,
|
||||
string onOpenDesc, string openDesc, string onCloseDesc, string closeDesc,
|
||||
Flag!"canOpen" canOpen, Flag!"canClose" canClose, Flag!"isOpen" isOpen) {
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue