aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

Quotation end marker miss #556

Closed etcimon closed 9 years ago

etcimon commented 9 years ago

The following edge case causes the line at writeln to appear as orange:

void main() {
    if (d == '\'' || c == '"')
        writeln("hello"); // this entire line is orange

However, using this will repair it:

void main() {
    if (d == '\'' || c == '"' /* " */)
        writeln("hello"); // this is not orange.