Fix detection of "ditto" and "private" doc comments.