[commit: ghc] master: small parser/lexer cleanup (37d64a5)

git at git.haskell.org git at git.haskell.org
Fri Nov 7 13:32:52 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/37d64a51348a803a1cf974d9e97ec9231215064a/ghc

>---------------------------------------------------------------

commit 37d64a51348a803a1cf974d9e97ec9231215064a
Author: Yuri de Wit <admin at rodlogic.net>
Date:   Fri Nov 7 07:32:26 2014 -0600

    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


>---------------------------------------------------------------

37d64a51348a803a1cf974d9e97ec9231215064a
 compiler/parser/{Ctype.lhs => Ctype.hs}       |  25 +-
 compiler/parser/Lexer.x                       |  43 +-
 compiler/parser/{Parser.y.pp => Parser.y}     | 894 +++++++++++++-------------
 compiler/parser/{RdrHsSyn.lhs => RdrHsSyn.hs} | 108 ++--
 ghc.mk                                        |   3 +-
 5 files changed, 536 insertions(+), 537 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 37d64a51348a803a1cf974d9e97ec9231215064a


More information about the ghc-commits mailing list