Warn about leading tabs
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.
Showing
- Cabal/Cabal.cabal 4 additions, 0 deletionsCabal/Cabal.cabal
- Cabal/Distribution/PackageDescription/Parsec.hs 3 additions, 3 deletionsCabal/Distribution/PackageDescription/Parsec.hs
- Cabal/Distribution/Parsec/Common.hs 1 addition, 0 deletionsCabal/Distribution/Parsec/Common.hs
- Cabal/Distribution/Parsec/Lexer.hs 12 additions, 5 deletionsCabal/Distribution/Parsec/Lexer.hs
- Cabal/Distribution/Parsec/LexerMonad.hs 21 additions, 12 deletionsCabal/Distribution/Parsec/LexerMonad.hs
- Cabal/tests/ParserTests.hs 2 additions, 0 deletionsCabal/tests/ParserTests.hs
- Cabal/tests/ParserTests/regressions/Octree-0.5.format 1 addition, 3 deletionsCabal/tests/ParserTests/regressions/Octree-0.5.format
- Cabal/tests/ParserTests/regressions/th-lift-instances.cabal 76 additions, 0 deletionsCabal/tests/ParserTests/regressions/th-lift-instances.cabal
- Cabal/tests/ParserTests/regressions/th-lift-instances.expr 432 additions, 0 deletionsCabal/tests/ParserTests/regressions/th-lift-instances.expr
- Cabal/tests/ParserTests/regressions/th-lift-instances.format 78 additions, 0 deletionsCabal/tests/ParserTests/regressions/th-lift-instances.format
- Cabal/tests/ParserTests/warnings/subsection.cabal 1 addition, 1 deletionCabal/tests/ParserTests/warnings/subsection.cabal
- Cabal/tests/ParserTests/warnings/tab.cabal 12 additions, 0 deletionsCabal/tests/ParserTests/warnings/tab.cabal
- boot/Lexer.x 14 additions, 8 deletionsboot/Lexer.x
Loading
Please register or sign in to comment