diff --git a/src/dfmt.d b/src/dfmt.d index c371d04..2009fc8 100644 --- a/src/dfmt.d +++ b/src/dfmt.d @@ -375,7 +375,7 @@ private: { writeToken(); if (!currentIs(tok!"*") && !currentIs(tok!")") && !currentIs(tok!"[") - && !currentIs(tok!",")) + && !currentIs(tok!",") && !currentIs(tok!";")) { write(" "); } diff --git a/tests/issue0067.d b/tests/issue0067.d new file mode 100644 index 0000000..c21b681 --- /dev/null +++ b/tests/issue0067.d @@ -0,0 +1 @@ +alias Key = void* ; diff --git a/tests/issue0067.d.ref b/tests/issue0067.d.ref new file mode 100644 index 0000000..597acf0 --- /dev/null +++ b/tests/issue0067.d.ref @@ -0,0 +1 @@ +alias Key = void*;