mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-19 12:56:08 +00:00
Remove build-parser.sh
This commit is contained in:
parent
bd09a30d65
commit
ee8b8cc6ba
@ -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
|
||||
}
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user