[Issue 11479] New: [REG 2.064] DDoc regression?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 9 00:32:49 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11479

           Summary: [REG 2.064] DDoc regression?
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dmitry.olsh at gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-11-09 00:32:47 PST ---
std.regex DDocs suddenly shows tons of private stuff, see

http://dlang.org/phobos/std_regex.html#.kickstart

The relevant code part std.regex:2087. It's the same code as in 2.063. 
The first empty /// must have started to work funnily.

    ///

private:
    NamedGroup[] dict;  //maps name -> user group number
    uint ngroup;        //number of internal groups
    uint maxCounterDepth; //max depth of nested {n,m} repetitions
    uint hotspotTableSize; //number of entries in merge table
    uint threadCount;
    uint flags;         //global regex flags
    const(Trie)[]  tries; //
    uint[] backrefed; //bit array of backreferenced submatches
    Kickstart!Char kickstart;

    //bit access helper
    uint isBackref(uint n)
    {
        if(n/32 >= backrefed.length)
            return 0;
        return backrefed[n / 32] & (1 << (n & 31));
    }

    //check if searching is not needed
    void checkIfOneShot()
...

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list