Remove build-parser.sh

This commit is contained in:
Vaibhav Sagar 2017-09-02 10:20:04 +07:00
parent bd09a30d65
commit ee8b8cc6ba
2 changed files with 0 additions and 19 deletions

View File

@ -1,18 +0,0 @@
#!/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
}

View File

@ -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