Lexer and parser generators using CTFE
philippe.sigaud at gmail.com
Wed Feb 29 01:48:33 PST 2012
Le 29 févr. 2012 07:20, "Nick Sabalausky" <a at a.a> a écrit :
> "Nick Sabalausky" <a at a.a> wrote in message
> news:jikcit$201o$1 at digitalmars.com...
> > Hmm, maybe I need to think about what it would take to make Goldie able
> > parse at compile-time...
> Just gave it a quick shot. It was looking like it might not be too bad,
> then I hit:
> Assertion failure: 'ctfeStack.stackPointer() == 0' on line 4823 in file
> (This was with DMD 2.058)
Yeah, I had the very same yesterday :(
Also, another one on line 94 in interpret.c 'v->ctfeSomethin' failing.
In my case, I found a workaround: I was doing
array ~= SomeStruct(args);
which asserts at CTFE.
auto s = SomeStructs(args);
array ~= s;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d