Skip to content

Commit

Permalink
allow happy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Sep 19, 2024
1 parent a4ee695 commit a5f7f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config-value.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ library

build-tool-depends:
alex:alex >= 3.2,
happy:happy >= 1.19 && <1.21,
happy:happy >= 1.19 && <2.1,

hs-source-dirs: src
default-language: Haskell2010
Expand Down
3 changes: 1 addition & 2 deletions src/Config/Number.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ data Number = MkNumber
}
deriving (Eq, Ord, Read, Show, Data, Generic)

-- | Radix used for a number. Some radix modes support an
-- exponent.
-- | Radix used for a number. Some radix modes support an exponent.
data Radix
= Radix2 -- ^ binary, base 2
| Radix8 -- ^ octal, base 8
Expand Down

0 comments on commit a5f7f92

Please sign in to comment.