diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-11-22 11:52:53 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-11-22 13:14:02 -0500 |
commit | 699e507237ccda65fe9f37651d2358129390e2de (patch) | |
tree | 0515530b121307e5421a72d1055474a287bf954e /mk | |
parent | f2d9fb0c288788abeb796a13d600295a526290cd (diff) | |
download | haskell-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.in | 3 |
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 |