DDoc and mixins
Ary Manzana
ary at esperanto.org.ar
Sun May 6 19:05:17 PDT 2007
Yes. I'm seeing in the front-end code that the following happens:
1. The modules are parsed.
2. Documentation is generated.
3. DI files are generated.
4. Semantic analysis is done.
5. Code is generated.
Maybe step 2 could be moved after step 4... and, of course, the
documentation read by the mixins (they are read, since they are read
using the same Parser class) should be sent back to the main body... or
kept someway.
Gregor Richards escribió:
> I can't offer you a reason, but I can offer you an explanation: mixins
> are expanded far later in parsing than ddoc comments are parsed.
>
> - Gregor Richards
More information about the Digitalmars-d
mailing list