[commit: ghc] master: Rework parser to allow use with DynFlags (39a2faa)
git at git.haskell.org
git at git.haskell.org
Wed May 18 20:00:09 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/39a2faa05fbbdb4a5ef0682afc42b5809cbd86ce/ghc
>---------------------------------------------------------------
commit 39a2faa05fbbdb4a5ef0682afc42b5809cbd86ce
Author: Dave Laing <dave.laing.80 at gmail.com>
Date: Tue May 17 19:03:41 2016 +0200
Rework parser to allow use with DynFlags
Split out the options needed by the parser from DynFlags, making the
parser more friendly to standalone usage.
Test Plan: validate
Reviewers: simonmar, alanz, bgamari, austin, thomie
Reviewed By: simonmar, alanz, bgamari, thomie
Subscribers: thomie, mpickering
Differential Revision: https://phabricator.haskell.org/D2208
GHC Trac Issues: #10961
>---------------------------------------------------------------
39a2faa05fbbdb4a5ef0682afc42b5809cbd86ce
compiler/cmm/CmmLex.x | 41 +++++-----
compiler/cmm/CmmMonad.hs | 58 +++++++++++++++
compiler/cmm/CmmParse.y | 43 +++++------
compiler/ghc.cabal.in | 1 +
compiler/main/GHC.hs | 2 +-
compiler/main/HeaderInfo.hs | 2 +-
compiler/main/HscMain.hs | 4 +-
compiler/parser/Lexer.x | 177 +++++++++++++++++++++++++++-----------------
compiler/parser/Parser.y | 4 +-
compiler/parser/RdrHsSyn.hs | 9 +--
10 files changed, 222 insertions(+), 119 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 39a2faa05fbbdb4a5ef0682afc42b5809cbd86ce
More information about the ghc-commits
mailing list