diff options
| author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-07-04 18:20:06 +0200 |
|---|---|---|
| committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-07-05 00:00:16 +0200 |
| commit | c875b085d95377771a5b3cf0f44bb2910dbfe966 (patch) | |
| tree | 82956f75c4e61e62707b31cb0742d11a0a8f26c7 /compiler/parser | |
| parent | aa778c8e5142b5a30905be12062cf443268db7ae (diff) | |
| download | haskell-c875b085d95377771a5b3cf0f44bb2910dbfe966.tar.gz | |
Use -fno-warn-unused-imports instead of hiding `ord`
This is more future proof. Maybe later versions of Alex won't `import
Data.Char (ord)` anymore.
Diffstat (limited to 'compiler/parser')
| -rw-r--r-- | compiler/parser/Lexer.x | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 8e6e67d8d1..df7347e85a 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -45,6 +45,7 @@ {-# LANGUAGE BangPatterns #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} +{-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-tabs #-} {-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# OPTIONS_GHC -fno-warn-overlapping-patterns #-} @@ -84,7 +85,7 @@ import Control.Applicative #endif import Control.Monad import Data.Bits -import Data.Char hiding (ord) +import Data.Char import Data.List import Data.Maybe import Data.Word |
