Created attachment 757
test case
String default arguments of functions can still break the Ddoc output.
Example:
///a stray $(RPAREN)
void test(string a = ")") {}
Comment #1 by johannespfau — 2010-09-17T07:18:53Z
Created attachment 758
Patch for dmd 2.049
Comment #2 by johannespfau — 2010-09-17T07:24:04Z
Note:
Phobos has workarounds for this issue in std.random, line 642 and 728 (svn, revision 1977). These workarounds need to be revoked because this patch preserves string arguments literally and therefore macros are not expanded (which is the right thing, imho).