language-c 0.10.0 → 0.10.1
raw patch · 7 files changed
+19/−10 lines, 7 filesdep ~pretty
Dependency ranges changed: pretty
Files
- ChangeLog.md +4/−0
- language-c.cabal +6/−6
- src/Language/C/Analysis/AstAnalysis.hs +1/−0
- src/Language/C/Analysis/DeclAnalysis.hs +1/−0
- src/Language/C/Analysis/TravMonad.hs +5/−3
- src/Language/C/Parser/Lexer.x +1/−1
- src/Language/C/Parser/ParserMonad.hs +1/−0
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog +## 0.10.1++- Support `0.0f16` syntax.+ ## 0.10.0 - Support for half-precision floating point `__fp16`, `_Float16`, and `_Float16x`.
language-c.cabal view
@@ -1,15 +1,15 @@ cabal-version: 2.2 name: language-c-version: 0.10.0+version: 0.10.1 license: BSD-3-Clause license-file: LICENSE copyright: LICENSE maintainer: language.c@monoid.al author: AUTHORS tested-with:- ghc ==9.12.1 ghc ==9.10.1 ghc ==9.8.2 ghc ==9.6.6 ghc ==9.4.8- ghc ==9.2.8 ghc ==9.0.2 ghc ==8.10.7 ghc ==8.8.4 ghc ==8.6.5- ghc ==8.4.4 ghc ==8.2.2 ghc ==8.0.2+ ghc ==9.14.1 ghc ==9.12.2 ghc ==9.10.3 ghc ==9.8.4 ghc ==9.6.7+ ghc ==9.4.8 ghc ==9.2.8 ghc ==9.0.2 ghc ==8.10.7 ghc ==8.8.4+ ghc ==8.6.5 ghc ==8.4.4 ghc ==8.2.2 ghc ==8.0.2 homepage: https://visq.github.io/language-c/ bug-reports: https://github.com/visq/language-c/issues/@@ -97,12 +97,12 @@ build-depends: base >=4.9 && <5, array <0.6,- containers >=0.3 && <0.8,+ containers >=0.3 && <0.9, deepseq >=1.4.0.0 && <1.6, directory <1.4, filepath <1.6, mtl <2.4,- pretty <1.2.0,+ pretty <1.2, process <1.7 if flag(usebytestrings)
src/Language/C/Analysis/AstAnalysis.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE ScopedTypeVariables, PatternGuards #-}+{-# OPTIONS_GHC -Wwarn=incomplete-patterns #-} ----------------------------------------------------------------------------- -- | -- Module : Language.C.Parser.Translation
src/Language/C/Analysis/DeclAnalysis.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE PatternGuards, FlexibleContexts #-}+{-# OPTIONS_GHC -Wwarn=incomplete-patterns #-} ----------------------------------------------------------------------------- -- | -- Module : Language.C.Analysis.DeclAnalysis
src/Language/C/Analysis/TravMonad.hs view
@@ -1,5 +1,6 @@-{-# LANGUAGE MultiParamTypeClasses, TypeSynonymInstances, FlexibleContexts,FlexibleInstances,+{-# LANGUAGE MultiParamTypeClasses, FlexibleContexts,FlexibleInstances, PatternGuards, RankNTypes, ScopedTypeVariables, LambdaCase #-}+{-# OPTIONS_GHC -Wwarn=incomplete-uni-patterns #-} ----------------------------------------------------------------------------- -- | -- Module : Language.C.Analysis.TravMonad@@ -67,9 +68,10 @@ import Data.Maybe import Control.Applicative (Applicative(..)) import Control.Monad (liftM, ap)-import Control.Monad.Identity+import Control.Monad.Identity (Identity, runIdentity) import Control.Monad.State.Class (MonadState, get, put, modify, gets)-import Control.Monad.Trans+import Control.Monad.Trans (MonadTrans, lift)+import Control.Monad.IO.Class (MonadIO, liftIO) import Prelude hiding (Applicative(..), lookup) class (Monad m) => MonadName m where
src/Language/C/Parser/Lexer.x view
@@ -121,7 +121,7 @@ @binexp = [pP][\+\-]?@digits -- Suffixes `qQwW` are GNU floating type extensions: <https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html>-@iec60559suffix = (32|64|128)[x]?+@iec60559suffix = (16|32|64|128)[x]? @floatsuffix = [fFlLqQwW]@iec60559suffix? @floatgnusuffix = @floatsuffix@gnusuffix?|@gnusuffix@floatsuffix?
src/Language/C/Parser/ParserMonad.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE CPP #-}+{-# OPTIONS_GHC -Wwarn=incomplete-uni-patterns #-} ----------------------------------------------------------------------------- -- | -- Module : Language.C.Syntax.ParserMonad