[commit: ghc] master: Print warnings on parser failures (#12610). (49012eb)
git at git.haskell.org
git at git.haskell.org
Mon May 15 22:12:27 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/49012ebc9ed44a0b1f8de3781e15c8115d3074f8/ghc
>---------------------------------------------------------------
commit 49012ebc9ed44a0b1f8de3781e15c8115d3074f8
Author: Dave Laing <dave.laing.80 at gmail.com>
Date: Mon May 15 16:09:11 2017 -0400
Print warnings on parser failures (#12610).
Test Plan: validate
Reviewers: austin, bgamari, simonmar, mpickering
Reviewed By: mpickering
Subscribers: mpickering, rwbarton, thomie
GHC Trac Issues: #12610
Differential Revision: https://phabricator.haskell.org/D3584
>---------------------------------------------------------------
49012ebc9ed44a0b1f8de3781e15c8115d3074f8
compiler/backpack/DriverBkp.hs | 2 +-
compiler/cmm/CmmMonad.hs | 2 +-
compiler/cmm/CmmParse.y | 6 ++--
compiler/main/GHC.hs | 13 ++++----
compiler/main/HeaderInfo.hs | 4 ++-
compiler/main/HscMain.hs | 8 +++--
compiler/main/InteractiveEval.hs | 8 ++---
compiler/parser/Lexer.x | 40 ++++++++++++++++--------
testsuite/tests/parser/should_fail/T12610.hs | 6 ++++
testsuite/tests/parser/should_fail/T12610.stderr | 6 ++++
testsuite/tests/parser/should_fail/all.T | 3 +-
11 files changed, 67 insertions(+), 31 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 49012ebc9ed44a0b1f8de3781e15c8115d3074f8
More information about the ghc-commits
mailing list