April 07, 2011 ddoc patterns | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation