patch applied (cabal-branches/cabal-1.2): Rewrite the parser for the configuration structure to allow laout or braces
6 Sep
2007
6 Sep
'07
6:46 a.m.
Wed Sep 5 15:36:09 PDT 2007 Duncan Coutts <duncan@haskell.org> * Rewrite the parser for the configuration structure to allow laout or braces Joint work with Thomas Schilling. The sections and indeed fields (and if/else) can now use either explicit brace {} style layout or indentation eg:
library exposed-modules: Blah or library { exposed-modules: } layout style can be nested within explict braces style and vica versa. Also add some more checks and relax the tab checks. Unrecognised sections, like unrecognised fields, are not fatal errors, so we could add sections in future without breaking old cabal.
M ./Distribution/PackageDescription.hs -68 +45 M ./Distribution/ParseUtils.hs -160 +255
6892
Age (days ago)
6892
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts