Pegged: Syntax Highlighting

Philippe Sigaud philippe.sigaud at gmail.com
Wed Mar 28 13:22:03 PDT 2012


On Wed, Mar 28, 2012 at 19:19, Andrej Mitrovic
<andrej.mitrovich at gmail.com> wrote:
> Also asModule seems to have stopped generating valid modules since the
> last time I've tried it. I keep getting this error when importing a
> generated file:
>
> arithmetic.d(44): Error: undefined identifier module arithmetic.empty
> arithmetic.d(31):        called from here:
> parse(Input(input,Pos(0u,0u,0u),AssociativeList(null)))
> simpleTest.d(30):        called from here: parse("2/(8*7988+1*6196-y)")
> Failed: "dmd" "-w" "-wi" "-v" "-o-" "simpleTest.d" "-I."

Ah, I'm preparing a future switch to ranges and changed 'arr.length ==
0' calls to 'arr.empty'. I forgot to put an 'import std.array;' at the
beginning of 'asModule()( I guess.

OK, it's done and on Github. Thanks for the headup!


More information about the Digitalmars-d-announce mailing list