summaryrefslogtreecommitdiff
path: root/compiler/cmm
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2018-11-22 11:52:53 -0500
committerBen Gamari <ben@smart-cactus.org>2018-11-22 13:14:02 -0500
commit699e507237ccda65fe9f37651d2358129390e2de (patch)
tree0515530b121307e5421a72d1055474a287bf954e /compiler/cmm
parentf2d9fb0c288788abeb796a13d600295a526290cd (diff)
downloadhaskell-699e507237ccda65fe9f37651d2358129390e2de.tar.gz
Remove warnings-silencing flags for code generated by Alex
Current versions of Alex don't seem to produce as many warnings any more. In order to silence a warning and to avoid overlong lines, I've taken the liberty of refactoring 'tok_num'. Test Plan: ./validate Reviewers: bgamari, simonmar Reviewed By: simonmar Subscribers: erikd, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5319
Diffstat (limited to 'compiler/cmm')
-rw-r--r--compiler/cmm/CmmLex.x7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x
index 691ca5eb28..468ea00a93 100644
--- a/compiler/cmm/CmmLex.x
+++ b/compiler/cmm/CmmLex.x
@@ -11,13 +11,6 @@
-----------------------------------------------------------------------------
{
--- See Note [Warnings in code generated by Alex] in compiler/parser/Lexer.x
-{-# 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 #-}
-
module CmmLex (
CmmToken(..), cmmlex,
) where