Use alex in latin1 mode
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.
Showing
- Cabal/Distribution/PackageDescription/Parsec.hs 1 addition, 1 deletionCabal/Distribution/PackageDescription/Parsec.hs
- Cabal/Distribution/Parsec/ConfVar.hs 0 additions, 1 deletionCabal/Distribution/Parsec/ConfVar.hs
- Cabal/Distribution/Parsec/Lexer.hs 25 additions, 29 deletionsCabal/Distribution/Parsec/Lexer.hs
- Cabal/Distribution/Parsec/Parser.hs 9 additions, 12 deletionsCabal/Distribution/Parsec/Parser.hs
- Cabal/Distribution/Parsec/Types/Field.hs 2 additions, 5 deletionsCabal/Distribution/Parsec/Types/Field.hs
- Cabal/tests/ParserTests.hs 2 additions, 2 deletionsCabal/tests/ParserTests.hs
- Makefile 1 addition, 1 deletionMakefile
- boot/Lexer.x 21 additions, 26 deletionsboot/Lexer.x
Loading
Please register or sign in to comment