Commit ee8b8cc6 authored by Vaibhav Sagar's avatar Vaibhav Sagar

Remove build-parser.sh

parent bd09a30d
#!/bin/bash -e
# Called from Setup.hs.
function make_parser {
SRCDIR=$1
SRCNAME=$2
# Preprocess the GHC parser we're using to CPP subs.
cpphs --linepragma --text ${SRCNAME}.y.pp -OParser.y
# Compile the parser and remove intermediate file.
happy Parser.y
rm Parser.y
# Move output Haskell to source directory.
mkdir -p $SRCDIR/Language/Haskell/GHC
mv Parser.hs $SRCDIR/Language/Haskell/GHC/HappyParser.hs
}
......@@ -18,7 +18,6 @@ cabal-version: >=1.16
-- hs-source-dirs doesn't work well, doesn't take union, so include all src dirs specifically
extra-source-files:
build-parser.sh
HaskellParser76.y.pp
HaskellParser782.y.pp
HaskellParser783.y.pp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment