[commit: ghc] master: Remove dead code / overlapping pattern (#9723) (ced27de)

git at git.haskell.org git at git.haskell.org
Sat Jul 4 13:35:36 UTC 2015


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

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

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

commit ced27def2d33119ed9fcc22f92856f132fd72217
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Sat Jul 4 15:27:45 2015 +0200

    Remove dead code / overlapping pattern (#9723)


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

ced27def2d33119ed9fcc22f92856f132fd72217
 compiler/parser/Lexer.x | 2 --
 1 file changed, 2 deletions(-)

diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 1ee5c03..8e6e67d 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -2167,8 +2167,6 @@ addTabWarning srcspan
                 then s{tab_first = tf', tab_count = tc'}
                 else s
        in POk s' ()
-addTabWarning _
-  = P $ \s -> POk s ()
 
 mkTabWarning :: PState -> Maybe ErrMsg
 mkTabWarning PState{tab_first=tf, tab_count=tc, dflags=d} =



More information about the ghc-commits mailing list