Improving ddoc

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 1 04:11:25 PST 2015


On 1/1/2015 2:04 AM, Joseph Rushton Wakeling via Digitalmars-d wrote:
> I ask because for me, one of the biggest annoyances of Ddoc (in terms of source
> readability of the docs) is having to use $(RPAREN) in order to avoid Ddoc
> accidentally seeing a macro where there is none.

Please show some context where that frequently happens for you.

I see some instances in Phobos, but they are all of the form:

   [x .. y$(RPAREN)

which would be better coded as:

   $(INTERVAL x .. y)

   INTERVAL=[$0$(RPAREN)



More information about the Digitalmars-d mailing list