packages feed

cpphs 1.19.2 → 1.19.3

raw patch · 6 files changed

+17/−5 lines, 6 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -4,6 +4,7 @@   * allow the static linking exception to the LGPL   * (1.19.1): don't warn about trailing comments in #ifdefs   * (1.19.2): fix build error+  * (1.19.3): bugfix for hlint ticket #161 - interaction of --unlit/--linepragma  Version 1.18 ------------
Language/Preprocessor/Cpphs/CppIfdef.hs view
@@ -44,10 +44,11 @@         -> String               -- ^ The input file content         -> IO [(Posn,String)]   -- ^ The file after processing (in lines) cppIfdef fp syms search options =-    cpp posn defs search options (Keep []) . (cppline posn:) . linesCpp+    cpp posn defs search options (Keep []) . initial . linesCpp   where     posn = newfile fp     defs = preDefine options syms+    initial = if literate options then id else (cppline posn:) -- Previous versions had a very simple symbol table  mapping strings -- to strings.  Now the #ifdef pass uses a more elaborate table, in -- particular to deal with parameterised macros in conditionals.
Language/Preprocessor/Unlit.hs view
@@ -21,6 +21,7 @@                                    -> Include (read line) (unwords rest)                                 _  -> Pre x                              ) : classify xs+--classify (x:xs) | "{-# LINE" `isPrefixOf` x = Program x: classify xs classify (x:xs) | all isSpace x = Blank:classify xs classify (x:xs)                 = Comment:classify xs 
cpphs.cabal view
@@ -1,5 +1,5 @@ Name: cpphs-Version: 1.19.2+Version: 1.19.3 Copyright: 2004-2015, Malcolm Wallace License: LGPL License-File: LICENCE-LGPL
cpphs.hs view
@@ -20,7 +20,7 @@ import Data.List   ( isPrefixOf )  version :: String-version = "1.19.2"+version = "1.19.3"  main :: IO () main = do
docs/index.html view
@@ -198,11 +198,12 @@ <b>Current stable version:</b>  <p>-cpphs-1.19.2, release date 2015-07-31<br>+cpphs-1.19.3, release date 2015-08-23<br> By HTTP: <a href="http://hackage.haskell.org/package/cpphs">Hackage</a>. <ul>-<li> fix build error+<li> bugfix for hlint ticket #161, for+     the interaction of --unlit and --linepragma options </ul>  <p>@@ -224,6 +225,14 @@  <p> <b>Older versions:</b>++<p>+cpphs-1.19.2, release date 2015-07-31<br>+By HTTP:+<a href="http://hackage.haskell.org/package/cpphs">Hackage</a>.+<ul>+<li> fix build error+</ul>  <p> cpphs-1.19.1, release date 2015-07-30<br>