copilot-c99 3.0 → 3.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~copilot-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: copilot-core
API changes (from Hackage documentation)
Files
copilot-c99.cabal view
@@ -1,6 +1,6 @@ cabal-version : >= 1.10 name : copilot-c99-version : 3.0+version : 3.0.1 synopsis : A compiler for Copilot targeting C99. description : This package is a back-end from Copilot to C.@@ -40,7 +40,7 @@ , mtl >= 2.2 && < 2.3 , pretty >= 1.1 && < 1.2 - , copilot-core >= 3.0 && < 3.1+ , copilot-core >= 3.0.1 && < 3.1 , language-c99 >= 0.1.1 && < 0.2 , language-c99-util >= 0.1.1 && < 0.2 , language-c99-simple >= 0.1.1 && < 0.2
src/Copilot/Compile/C99/Translate.hs view
@@ -77,7 +77,7 @@ Acosh _ -> funcall "acosh" [e] BwNot _ -> (C..~) e Cast _ ty -> C.Cast (transtypename ty) e- GetField _ _ n -> C.Dot e n+ GetField (Struct _) _ f -> C.Dot e (accessorname f) -- | Translates a Copilot binary operator and arguments into a C99 expression. transop2 :: Op2 a b c -> C.Expr -> C.Expr -> C.Expr