summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2020-02-15 12:32:30 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2020-02-22 20:17:37 +0300
commita5ec380589c7e6dc9e3416b6409ad49153acdfff (patch)
tree610784e13d2cbdfe71cfe845182dcf6e71c87182 /compiler/parser
parent9d09411122b9b534b96e988b6d3f6d7eb04b8f66 (diff)
downloadhaskell-wip/pgmf.tar.gz
WIP: Use alex/happy as -pgmF preprocessorswip/pgmf
Diffstat (limited to 'compiler/parser')
-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
2 files changed, 4 insertions, 0 deletions
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 #-}