6.3.20041124 ghc-pkg issues
Keith Wansbrough
Keith.Wansbrough at cl.cam.ac.uk
Fri Nov 26 10:09:00 EST 2004
> > 2. It would be nice if a parse error when reading ghc-pkg yielded some
> > information as to the location of the error.
>
> It should do that... can you give an example?
Here's a simple one (I'm guessing the problem is empty fields - I
thought they were legal because ghc-pkg describe yields them in its
output).
ged:/home/kw217# cat foo.pkg
name: foo
version:
copyright:
ged:/home/kw217# ghc-pkg-6.3.20041124 register foo.pkg
Reading package info from "foo.pkg"ghc-pkg: parse error in package
info
ged:/home/kw217#
--KW 8-)
More information about the Cvs-ghc
mailing list