summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-10 12:54:22 +0000
committerIan Lynagh <igloo@earth.li>2008-07-10 12:54:22 +0000
commit43f56cdf26f945d068975fa5a372ca87755d9791 (patch)
treeadcefbee33e45aa127c9bd2c88a0144ed9b5dfd1 /compiler/parser
parent0d792bea36420e657fb293d9f90f35d8ef96cb4f (diff)
downloadhaskell-43f56cdf26f945d068975fa5a372ca87755d9791.tar.gz
Move another flag from the Makefile into a pragma
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index b9abf7a848..525d50bd61 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -31,6 +31,8 @@
-- Note that Alex itself generates code with with some unused bindings and
-- without type signatures, so removing the flag might not be possible.
+{-# OPTIONS_GHC -funbox-strict-fields #-}
+
module Lexer (
Token(..), lexer, pragState, mkPState, PState(..),
P(..), ParseResult(..), getSrcLoc,