Commit c875b085 authored by thomie's avatar thomie

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.
parent aa778c8e
......@@ -13,6 +13,7 @@
{
{-# 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 #-}
-- The above warning suppression flags are a temporary kludge.
......@@ -37,7 +38,7 @@ import Util
--import TRACE
import Data.Word
import Data.Char hiding (ord)
import Data.Char
}
$whitechar = [\ \t\n\r\f\v\xa0] -- \xa0 is Unicode no-break space
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment