Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Aug 01, 2018
  2. Jul 31, 2018
  3. Feb 14, 2018
  4. Feb 05, 2018
  5. Jan 16, 2018
    • Oleg Grenrus's avatar
      Warn about leading tabs · fe40c070
      Oleg Grenrus authored
      There are 3957 warned files atm in Hackage index.
      All of them have tab "inside the field", thus old parser acceps them.
      
      See e.g added th-lift-instances file. The warning comes from the description field.
      fe40c070
  6. Dec 24, 2017
  7. Sep 20, 2017
    • Oleg Grenrus's avatar
      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
  8. Aug 16, 2017
    • Oleg Grenrus's avatar
      Handle BOM in lexer · 85a0e6de
      Oleg Grenrus authored
      85a0e6de
    • Oleg Grenrus's avatar
      Use alex in latin1 mode · 541c415f
      Oleg Grenrus authored
      At the moment we have very lax "name" lexer, which is essentially
      *everything else* than otherwise specified characters: parens, space,
      symbols (but not hyphen -)
      
      This removes `TokNum` and `SecArgNum`, both are merged into `TokSym` and
      `SecArgSym` respectively.
      541c415f
  9. Aug 15, 2017
Loading