summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreyChudnov <>2018-04-14 19:02:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-04-14 19:02:00 (GMT)
commitf398c74890b03bc4c12a6bff69e007eb36257702 (patch)
tree3ac850a496e463cc36d1c6beeecd23ddd88798cb
parent6e7d9722a82b17e24a4bd89d97c70027bf69218f (diff)
version 0.180.18
-rw-r--r--CHANGELOG2
-rw-r--r--language-ecmascript.cabal10
-rw-r--r--src/Language/ECMAScript3/PrettyPrint.hs4
3 files changed, 9 insertions, 7 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 0902a89..4876894 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
Version change log.
+=0.18=
+Pull request #83: Updated dependencies, migrated to ansi-wl-pprint.
=0.17.2.0=
Issue #82: Tighter lexing of identifiers using Unicode character classes (thanks @berdario).
diff --git a/language-ecmascript.cabal b/language-ecmascript.cabal
index bface40..aa02358 100644
--- a/language-ecmascript.cabal
+++ b/language-ecmascript.cabal
@@ -1,5 +1,5 @@
Name: language-ecmascript
-Version: 0.17.2.0
+Version: 0.18
Cabal-Version: >= 1.10
Copyright: (c) 2007-2012 Brown University, (c) 2008-2010 Claudiu Saftoiu,
(c) 2012-2015 Stevens Institute of Technology, (c) 2016 Eyal Lotem, (c) 2016-2017 Andrey Chudnov
@@ -29,7 +29,7 @@ Source-repository head
Source-repository this
type: git
location: git://github.com/jswebtools/language-ecmascript.git
- tag: 0.17.2.0
+ tag: 0.18
Library
Hs-Source-Dirs:
@@ -38,14 +38,14 @@ Library
base >= 4 && < 5,
mtl >= 1 && < 3,
parsec > 3 && < 3.2.0,
- wl-pprint >= 1.2 && < 2,
+ ansi-wl-pprint >= 0.6 && < 1,
containers == 0.*,
uniplate >= 1.6 && <1.7,
data-default-class >= 0.0.1 && < 0.2,
QuickCheck >= 2.5 && < 3,
template-haskell >= 2.7 && < 3,
Diff == 0.3.*,
- testing-feat >= 0.4.0.2 && < 0.5,
+ testing-feat >= 0.4.0.2 && < 1.1,
charset >= 0.3
ghc-options:
-fwarn-incomplete-patterns
@@ -82,7 +82,7 @@ Test-Suite test
base >= 4 && < 5,
mtl >= 1 && < 3,
parsec >= 3 && < 3.2.0,
- wl-pprint >= 1.2 && < 2,
+ ansi-wl-pprint >= 0.6 && < 1,
containers == 0.*,
directory >= 1.2 && < 1.4,
filepath >= 1.3 && < 1.5,
diff --git a/src/Language/ECMAScript3/PrettyPrint.hs b/src/Language/ECMAScript3/PrettyPrint.hs
index d0c6c99..a383f3b 100644
--- a/src/Language/ECMAScript3/PrettyPrint.hs
+++ b/src/Language/ECMAScript3/PrettyPrint.hs
@@ -10,8 +10,8 @@ module Language.ECMAScript3.PrettyPrint (Pretty (..)
,unsafeInExprStmt
) where
-import qualified Text.PrettyPrint.Leijen as Pretty
-import Text.PrettyPrint.Leijen hiding (Pretty, parens)
+import qualified Text.PrettyPrint.ANSI.Leijen as Pretty
+import Text.PrettyPrint.ANSI.Leijen hiding (Pretty, parens)
import Language.ECMAScript3.Syntax
import Prelude hiding (maybe, id)
import qualified Prelude