Skip to content
Snippets Groups Projects
  • Oleg Grenrus's avatar
    c72fd0e7
    Introduce FIeldGrammar. · c72fd0e7
    Oleg Grenrus authored
    This commit reworks how GenericPackageDescription is parsed from
    `[Field Position]` and pretty-printed to `Doc`.
    
    This also fixes few issues:
    - Fix #4697: `cabal format` doesn't output custom-setup stanza (nor
      foreign-lib stanzas)
    - Fix #4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
        - `parser-hackage-tests roundtrip` is the test program.
    
    The handling of `license-file` and `license-files` is changed.
    Now they behave the same.
    c72fd0e7
    History
    Introduce FIeldGrammar.
    Oleg Grenrus authored
    This commit reworks how GenericPackageDescription is parsed from
    `[Field Position]` and pretty-printed to `Doc`.
    
    This also fixes few issues:
    - Fix #4697: `cabal format` doesn't output custom-setup stanza (nor
      foreign-lib stanzas)
    - Fix #4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
        - `parser-hackage-tests roundtrip` is the test program.
    
    The handling of `license-file` and `license-files` is changed.
    Now they behave the same.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.