Remove unnecessary tok!"comment" filter
This commit is contained in:
parent
20b8badf8c
commit
9f377100f0
src/dfmt
|
@ -474,11 +474,6 @@ final class FormatVisitor : ASTVisitor
|
|||
|
||||
foreach (t; item.tokens)
|
||||
{
|
||||
if (t.type == tok!"comment")
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (t.type == tok!"identifier" && !foundIdentifier)
|
||||
{
|
||||
foundIdentifier = true;
|
||||
|
|
Loading…
Reference in New Issue