On Wed, Jan 9, 2013 at 8:01 PM, Walter Bright <[email protected]> wrote:
>> What I'm not clear about, is: if the input is a D source file, should >> the expander strip any D code from it? Should this return a >> full-fledged documentation (ie, find the documented symbols...) or >> just blindly expand DDoc macros. >> > > No no no. The module gets its input from an InputRange. Not a file. It gets > its macro definitions, which are NAME=VALUE pairs, from an associative array > of them. That's not what I'm talking about, sorry for not being clear. I don't care for the origin of the data, obviously. I meant a D module, not a file specifically. My question was if the data is a D module (code + comments), should it just expand macros? Or should it generate a documentation? >From this and your other comments, I suppose the module does not filter out comments specifically: it simply iterate until it finds a $( pattern.
