Re: ghc-pkg 6.2 incorrectly parses commas within quotes

2004-01-11 Thread Ashley Yakeley
In article <[EMAIL PROTECTED]>, Sven Panne <[EMAIL PROTECTED]> wrote: > which is plainly wrong. Now we do this *only* when a variable occurs on its > own, > like: > > ["${deps}","foo"] => ["base","haskell98","network","foo"] > > I have slight doubts about this obscure feature, but Sigbjorn

Re: ghc-pkg 6.2 incorrectly parses commas within quotes

2004-01-11 Thread Sven Panne
Ashley Yakeley wrote: The 6.2 version of ghc-pkg is incorrectly parses commas within quotes. [...] This was a side-effect of a slighty obscure feature of ghc-pkg. I've made things more robust now. From the CVS log: -- Fixe

ghc-pkg 6.2 incorrectly parses commas within quotes

2004-01-11 Thread Ashley Yakeley
The 6.2 version of ghc-pkg is incorrectly parses commas within quotes. Here's a simple example: $ echo 'Package {name="ptest",extra_ld_opts=["a,b,c"]}' | sudo ghc-pkg -a $ ghc-pkg -s ptest Package {name = "ptest", auto = False, import_dirs = [], source_dirs = [], library_dirs =