small parser/lexer cleanup
authorYuri de Wit <admin@rodlogic.net>
Fri, 7 Nov 2014 13:32:26 +0000 (07:32 -0600)
committerAustin Seipp <austin@well-typed.com>
Fri, 7 Nov 2014 13:32:27 +0000 (07:32 -0600)
commit37d64a51348a803a1cf974d9e97ec9231215064a
tree73682cbf7d0c74a38a678b4edd00da0ca88f7974
parent24e05f48f3a3a1130ecd5a46e3089b76ee5a2304
small parser/lexer cleanup

Summary:
The last three '#define ...' macros were removed from Parser.y.pp and this file was renamed to Parser.y.
This basically got rid of a CPP step in the build.

Also converted two modules in compiler/parser/ from .lhs to .hs.

Test Plan: Does it build? Yes, I performed a full build here and things are looking good.

Reviewers: austin

Reviewed By: austin

Subscribers: adamse, thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D411
compiler/parser/Ctype.hs [moved from compiler/parser/Ctype.lhs with 95% similarity]
compiler/parser/Lexer.x
compiler/parser/Parser.y [moved from compiler/parser/Parser.y.pp with 71% similarity]
compiler/parser/RdrHsSyn.hs [moved from compiler/parser/RdrHsSyn.lhs with 92% similarity]
ghc.mk