Ready to make page-per-item ddocs the default?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 6 17:15:41 PST 2015


On 1/6/15 4:42 PM, Brad Anderson wrote:
> On Wednesday, 7 January 2015 at 00:06:28 UTC, Danny wrote:
>> http://dlang.org/library/core/math/ldexp.html
>>
>> "Compute n * 2⊃"
>>
>> Huh?
>
> Weird.
>
> It's `Compute n * 2$(SUP exp)` in the source[1]. SUP is a locally
> defined macro. Maybe ddox doesn't like local macros?
>
> 1.
> https://github.com/D-Programming-Language/druntime/blob/v2.066.1/src/core/math.d#L96

Yah, looks like a problem with ddox. Anyhow for now I fixed by using 
SUPERSCRIPT.

https://github.com/D-Programming-Language/druntime/commit/8f655bbdd8f7aa77907053c918d78d2286c93ab2

http://dlang.org/library-prerelease/core/math/ldexp.html


Andrei



More information about the Digitalmars-d mailing list