Ddoc/parser behavior question
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 7 00:40:37 PST 2016
On 2016-01-07 03:14, 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
>
> This isn't really spelled out in the ddoc spec. Is this behavior
> intentional or just a coincidence?
Is it spelled out if one just do:
int a; /// doc1
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list