Hi,

no matter what I do, the current ghc from CVS fails with an
error when compiling the BNF Converter. The source is
available here:

    http://www.cs.chalmers.se/~markus/BNFC/bnfc_2.0.tgz

Just untar it and say 'make'. On my machine, I get this:

 | $ make
 | ghc -iformats -iformats/haskell -iformats/java -iformats/cpp \
 |     -iformats/c -package util --make CFTop -o bnfc
 |
 | Chasing modules from: CFTop
 | Compiling Alex             ( ./Alex.hs, ./Alex.o )
 | Compiling ErrM             ( ./ErrM.hs, ./ErrM.o )
 | Compiling LexBNF           ( ./LexBNF.hs, ./LexBNF.o )
 | Compiling AbsBNF           ( ./AbsBNF.hs, ./AbsBNF.o )
 | Compiling ParBNF           ( ./ParBNF.hs, ./ParBNF.o )
 | GenericTemplate.hs:0: lexical error
 | make: *** [all] Error 1
 | peti:/tmp/BNFC$

I have no idea what causes this. ghc-6.0 compiles the source
code just fine.

Can anyone help me with this?

Peter
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to