Fix #73
This commit is contained in:
parent
8ab3b5c9f7
commit
4b7e37c1da
|
|
@ -290,7 +290,7 @@ private:
|
||||||
write(" ");
|
write(" ");
|
||||||
writeParens(true);
|
writeParens(true);
|
||||||
}
|
}
|
||||||
else if (isBlockHeader())
|
else if (isBlockHeader() && peekIs(tok!"(", false))
|
||||||
{
|
{
|
||||||
if (current.type == tok!"if")
|
if (current.type == tok!"if")
|
||||||
ifIndents.push(tempIndent);
|
ifIndents.push(tempIndent);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
void presumed (out uint column) @trusted {
|
||||||
|
CXString cxstring;
|
||||||
|
|
||||||
|
clang_getPresumedLocation(cx, &cxstring, &line, &column);
|
||||||
|
filename = toD(cxstring);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
void presumed(out uint column) @trusted
|
||||||
|
{
|
||||||
|
CXString cxstring;
|
||||||
|
|
||||||
|
clang_getPresumedLocation(cx, &cxstring, &line, &column);
|
||||||
|
filename = toD(cxstring);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue