/**--- char c = ')'; ---*/ void main() {} DMD: "Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired right parentheses." Me: "But it is a code example!? Well then ..." /**--- char c = '$(RPAREN)'; ---*/ void main() {} Me: "But stop warning me now, ok?" DMD: "Error: unterminated character constant" Me: ":-( sarcasm is the dark side of humor, DMD"
Works for me when I use the `-D`. No warning and the output is fine.