http://d.puremagic.com/issues/show_bug.cgi?id=4283



--- Comment #2 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2012-08-12 
23:51:08 PDT ---
The problem is if parseBlock encounters a rcurly, it consumes nothing.
Otherwise, it will consume

{ decldefs }
: decldefs
decldefs
;

As near as I can tell, consuming nothing serves no purpose in the parser, but
it does allow the following:

class C{
    public
}
struct S{
    static auto
}
interface F{
    extern(C)
}
union Z{
    extern private
}

class C2{
    align
}

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

Reply via email to