summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/GHC/Cmm/Lexer.hs (renamed from compiler/GHC/Cmm/Lexer.x)2
-rw-r--r--compiler/GHC/Cmm/Parser.hs (renamed from compiler/GHC/Cmm/Parser.y)3
-rw-r--r--compiler/parser/Lexer.hs (renamed from compiler/parser/Lexer.x)2
-rw-r--r--compiler/parser/Parser.hs (renamed from compiler/parser/Parser.y)2
4 files changed, 8 insertions, 1 deletions
diff --git a/compiler/GHC/Cmm/Lexer.x b/compiler/GHC/Cmm/Lexer.hs
index d8f15b916c..eeb68459a2 100644
--- a/compiler/GHC/Cmm/Lexer.x
+++ b/compiler/GHC/Cmm/Lexer.hs
@@ -1,3 +1,5 @@
+{-# OPTIONS -pgmF utils/alex.sh -F #-}
+
-----------------------------------------------------------------------------
--
-- (c) The University of Glasgow, 2004-2006
diff --git a/compiler/GHC/Cmm/Parser.y b/compiler/GHC/Cmm/Parser.hs
index 69a2a9347e..8b35eda5ae 100644
--- a/compiler/GHC/Cmm/Parser.y
+++ b/compiler/GHC/Cmm/Parser.hs
@@ -6,6 +6,8 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS -pgmF utils/happy.sh -F #-}
+
{- -----------------------------------------------------------------------------
Note [Syntax of .cmm files]
@@ -261,7 +263,6 @@ import Data.Maybe
import qualified Data.Map as M
import qualified Data.ByteString.Char8 as BS8
-#include "HsVersions.h"
}
%expect 0
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.hs
index 050a49c8c6..eea7706e0f 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.hs
@@ -1,3 +1,5 @@
+{-# OPTIONS -pgmF utils/alex.sh -F #-}
+
-----------------------------------------------------------------------------
-- (c) The University of Glasgow, 2006
--
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.hs
index 73e3c52851..863d4481e1 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.hs
@@ -7,6 +7,8 @@
-- Author(s): Simon Marlow, Sven Panne 1997, 1998, 1999
-- ---------------------------------------------------------------------------
+{-# OPTIONS -pgmF utils/happy.sh -F #-}
+
{
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE TypeFamilies #-}