summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-07-06 20:28:04 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-07-07 12:34:25 +0200
commitdb530f18784fe1a29394470a0edc56702727bcde (patch)
tree16d62ba3d72d3330e579a0bafdd47ed01af0cc41 /utils
parentd59cf4e503cb5f129b163e1280f5fe4a83e8e4d5 (diff)
downloadhaskell-db530f18784fe1a29394470a0edc56702727bcde.tar.gz
Add Note [Warnings in code generated by Alex]
Differential Revision: https://phabricator.haskell.org/D1044
Diffstat (limited to 'utils')
-rw-r--r--utils/genprimopcode/Lexer.x6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x
index 3ec6c2ef6e..ad2590bcb8 100644
--- a/utils/genprimopcode/Lexer.x
+++ b/utils/genprimopcode/Lexer.x
@@ -1,15 +1,11 @@
{
+-- 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-tabs #-}
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
--- The above warning suppression flags are a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
--- for details
module Lexer (lex_tok) where