https://issues.dlang.org/show_bug.cgi?id=15460

--- Comment #13 from Vladimir Panteleev <[email protected]> ---
(In reply to Andrei Alexandrescu from comment #2)
> (In reply to Adam D. Ruppe from comment #1)
> > This is the code that does it:
> > 
> >     buf.printf("$(DDOC_COMMENT Generated by Ddoc from %s)\n", m.srcfile.
> > toChars());
> > 
> > 
> > You could just define `DDOC_COMMENT=` to strip all comments from the
> > generated code, since plain text doesn't have a comment facility anyway...
> 
> Just do it!

What does that mean?

Anyway, another option would be to move it its own separate macro, so that it
can be disabled explicitly without affecting anything else.

--

Reply via email to