Ddoc/parser behavior question
Jack Stouffer via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 7 09:25:25 PST 2016
On Thursday, 7 January 2016 at 02:14:50 UTC, Brian Schott wrote:
> Consider the following code:
>
> /// doc1
> int a, /// doc2
> b, /// doc3
> c; /// doc4
>
> Ddoc's behavior is to generate this documentation:
>
> int a;
> doc1
> doc2
>
> int b;
> doc1
> doc3
>
> int c;
> doc1
> doc4
That looks intentional, and IMO is what makes sense. You have the
global comment for the declaration and individual comments for
each.
More information about the Digitalmars-d
mailing list