summaryrefslogtreecommitdiff
path: root/hadrian
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 /hadrian
parent9d09411122b9b534b96e988b6d3f6d7eb04b8f66 (diff)
downloadhaskell-wip/pgmf.tar.gz
WIP: Use alex/happy as -pgmF preprocessorswip/pgmf
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules.hs4
-rw-r--r--hadrian/src/Rules/SourceDist.hs6
2 files changed, 1 insertions, 9 deletions
diff --git a/hadrian/src/Rules.hs b/hadrian/src/Rules.hs
index 9b9f7557f3..4a3ec0a6aa 100644
--- a/hadrian/src/Rules.hs
+++ b/hadrian/src/Rules.hs
@@ -52,10 +52,6 @@ toolArgsTarget = do
root <- buildRoot
let dir = buildDir (vanillaContext Stage0 compiler)
need [ root -/- dir -/- "Config.hs" ]
- need [ root -/- dir -/- "Parser.hs" ]
- need [ root -/- dir -/- "Lexer.hs" ]
- need [ root -/- dir -/- "GHC" -/- "Cmm" -/- "Parser.hs" ]
- need [ root -/- dir -/- "GHC" -/- "Cmm" -/- "Lexer.hs" ]
-- Find out the arguments that are needed to load a module into the
-- session
diff --git a/hadrian/src/Rules/SourceDist.hs b/hadrian/src/Rules/SourceDist.hs
index b844c54c8a..4943b49418 100644
--- a/hadrian/src/Rules/SourceDist.hs
+++ b/hadrian/src/Rules/SourceDist.hs
@@ -136,11 +136,7 @@ prepareTree dest = do
-- (stage, package, input file, output file)
alexHappyFiles =
- [ (Stage0, compiler, "GHC/Cmm/Parser.y", "GHC/Cmm/Parser.hs")
- , (Stage0, compiler, "GHC/Cmm/Lexer.x", "GHC/Cmm/Lexer.hs")
- , (Stage0, compiler, "parser/Parser.y", "Parser.hs")
- , (Stage0, compiler, "parser/Lexer.x", "Lexer.hs")
- , (Stage0, hpcBin, "HpcParser.y", "HpcParser.hs")
+ [ (Stage0, hpcBin, "HpcParser.y", "HpcParser.hs")
, (Stage0, genprimopcode, "Parser.y", "Parser.hs")
, (Stage0, genprimopcode, "Lexer.x", "Lexer.hs")
]