Commits

Georg Brandl committed 3b01378

Fix building with parsec3-only systems.

  • Participants
  • Parent commits ce47f58
  • Tags 0.2.4

Comments (0)

Files changed (2)

File Text/CSS/CleverCSS.hs

 ------------------------------------------------------------------------------------------
 -- |
 -- Module      :  Text.CSS.CleverCSS
--- Copyright   :  (c) 2007-2010 Georg Brandl
+-- Copyright   :  (c) 2007-2011 Georg Brandl
 -- License     :  BSD (see the file LICENSE)
 --
 -- Main parsing and evaluation module for CleverCSS.

File clevercss.cabal

 Library
   Build-Depends: base >= 4 && < 5, containers, mtl
   If flag(parsec2)
-    Build-Depends: parsec >= 2.1
+    Build-Depends: parsec >= 2.1 && < 3
     CPP-Options: -DPARSEC2
   Else
     Build-Depends: parsec >= 3 && < 4
   Extensions: PatternGuards
   GHC-Options: -funbox-strict-fields
   If flag(parsec2)
-    Build-Depends: parsec >= 2.1
+    Build-Depends: parsec >= 2.1 && < 3
     CPP-Options: -DPARSEC2
   Else
     Build-Depends: parsec >= 3 && < 4