boyter/scc

Nested Comments in D-Lang Problematic

boyter opened this issue · 1 comments

/* 8 lines 5 code 1 comments 2 blanks */

void main() {
    auto x = 5; /+ a /+ nested +/ comment /* +/
    writefln("hello");
    auto y = 4; // */
}

Note that in the above /+ allows nested comments but that */ can be inside the different one. Currently scc is unable to deal with this.

Going to close. I think we are never going to fix this on the basis its such an edge case.