When programming in D highlighting fails when struct are created with no bracketing contents for example:
extern©:
struct the_c_struct;
is perfectly acceptable D code but after the struct declaration referencing a struct in a c library highlighting fails for any subsequent code. Using
struct the_c_struct{};
allows highlighting to work but makes the struct opaque. In this case the syntax highlighting could lead to writing incorrect code.
DP