summaryrefslogtreecommitdiff
path: root/mk
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 /mk
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 'mk')
-rw-r--r--mk/config.mk.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 7fa0f770a1..fb823ae29b 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -859,16 +859,13 @@ SRC_HAPPY_OPTS = -agc --strict
#
ALEX = @AlexCmd@
ALEX_VERSION = @AlexVersion@
-Alex3 = @Alex3@
#
# Options to pass to Alex when we're going to compile the output with GHC
#
SRC_ALEX_OPTS = -g
-ifeq "$(Alex3)" "YES"
# The compiler isn't using the Unicode support in Alex 3.0 yet, in fact we do our own
# Unicode handling, so diable Alex's.
compiler_ALEX_OPTS = --latin1
-endif
# Should we build haddock docs?
HADDOCK_DOCS = YES