aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-11-21 03:39:54 +0000
committerDavid Waern <david.waern@gmail.com>2010-11-21 03:39:54 +0000
commit0c906c379dc5bd1ae4d4b577406e3ae3e2702acc (patch)
tree02d4b9f3ff5b95b07646e8d6814786a3a962a593
parent371a8ef10f2fe1d30f203105750f04a9bdbb94b7 (diff)
Add BangPatterns to alex and happy source files
-rw-r--r--src/Haddock/Lex.x1
-rw-r--r--src/Haddock/Parse.y1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Haddock/Lex.x b/src/Haddock/Lex.x
index 86f66e2d..f4f017c4 100644
--- a/src/Haddock/Lex.x
+++ b/src/Haddock/Lex.x
@@ -8,6 +8,7 @@
--
{
+{-# LANGUAGE BangPatterns #-}
{-# OPTIONS -Wwarn -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
diff --git a/src/Haddock/Parse.y b/src/Haddock/Parse.y
index 1aad3a18..41c5b884 100644
--- a/src/Haddock/Parse.y
+++ b/src/Haddock/Parse.y
@@ -1,4 +1,5 @@
{
+{-# LANGUAGE BangPatterns #-}
{-# OPTIONS -Wwarn -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix