ddoc patterns

spir denis.spir at gmail.com
Thu Apr 7 01:20:15 PDT 2011


Hello,

In D stdlib's ddoc the idiom "$(D some d code) is constantly used. But it does 
not work by me. Not only it's not interpreted, but the contents are stripped 
out all together. (A *very* big bug of ddoc.)
First, I'd like to know why.
Second, there is another pattern $(D_CODE some d code), but it place the code 
on a separate block. Is this intended?
Third, http://www.digitalmars.com/d/2.0/ddoc.html seems to imply one can define 
new patterns. How to do that? I tried following the example, but my code ends 
up interpreted and stripped out.

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d-learn mailing list