diff --git a/cetodo/cetodo.d b/cetodo/cetodo.d index c179b919..db6ef2b3 100644 --- a/cetodo/cetodo.d +++ b/cetodo/cetodo.d @@ -201,9 +201,9 @@ void main(string[] args) while (!text.empty) { auto front = text.front; + identifier ~= front; text.popFront; - if (front != ':') identifier ~= front; - else + if (front == ':') { if (identifier.length) fields = identifier; isWellFormed = (text.length > 0);