build with -XFlexibleContexts to make GHC 8.0.2 happy

This commit is contained in:
John Haynes 2017-05-27 10:35:07 +02:00
parent ae73485e04
commit 10fb7ae7e8

View File

@ -1,6 +1,6 @@
all:
alex Lexer.x
happy Parser.y
ghc --make Main -o Main
ghc --make Main -o Main -XFlexibleContexts
clean:
rm -f *.o *.hi Parser.hs Lexer.hs Main