[Issue 15460] Ddoc: merge the opening comment "<!-- Generated by Ddoc from filename.dd -->" into the default definition of DDOC
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Dec 18 08:21:23 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15460
Adam D. Ruppe <destructionator at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com
--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
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...
--
    
    
More information about the Digitalmars-d-bugs
mailing list