On Wed, Mar 28, 2012 at 19:08, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote: > On 3/28/12, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote: >> snip > > Ouch, DMD crashes with that autogenerated ddump D grammar file.
Yeah, I spent two evenings trying to get why there is a segmentation fault. I found some nice bugs (the rules have an internal member called 'name' and for recursive rules it can become infinite). I still don't get why the D grammar does this. I'll start again, with a C grammar (I read one from the ANSI report today). I should have done it in smaller steps. Right now, I'm more into changing bits of the underlying code and then will code grammars again.