[project @ 2002-09-09 11:44:13 by simonmar]
[ghc-hetmet.git] / ghc / utils / genprimopcode / Main.hs
index f9306fb..49d3921 100644 (file)
@@ -1,11 +1,16 @@
-
+{-# OPTIONS -cpp #-}
 ------------------------------------------------------------------
 -- A primop-table mangling program                              --
 ------------------------------------------------------------------
 
 module Main where
 
+#if __GLASGOW_HASKELL__ >= 504
+import Text.ParserCombinators.Parsec
+#else
 import Parsec
+#endif
+
 import Monad
 import Char
 import List