From 0f1792d31bd13364b7b8b33d838fa97fca026898 Mon Sep 17 00:00:00 2001 From: Shayne Fletcher Date: Sun, 3 Nov 2024 09:11:13 -0500 Subject: [PATCH] fiddle with happy bounds again --- CI.hs | 2 +- ghc-lib-gen.cabal | 2 +- ghc-lib-gen/src/Ghclibgen.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CI.hs b/CI.hs index 31413608..d35e425d 100755 --- a/CI.hs +++ b/CI.hs @@ -98,7 +98,7 @@ data DaFlavor = DaFlavor -- Last tested gitlab.haskell.org/ghc/ghc.git at current :: String -current = "c08b68bc7ab947843d20621eb483a0fc3c42703a" -- 2024-10-12 +current = "573cad4bd9e7fc146581d9711d36c4e3bacbb6e9" -- 2024-11-03 ghcFlavorOpt :: GhcFlavor -> String ghcFlavorOpt = \case diff --git a/ghc-lib-gen.cabal b/ghc-lib-gen.cabal index 37cc4791..3a74bde6 100644 --- a/ghc-lib-gen.cabal +++ b/ghc-lib-gen.cabal @@ -53,7 +53,7 @@ executable ghc-lib-gen executable ghc-lib-build-tool import: base if impl (ghc > 9.12.0) - build-tool-depends: alex:alex, happy:happy == 1.20.* || >= 2.0.2 && < 2.1 + build-tool-depends: alex:alex, happy:happy == 1.20.* || == 2.0.2 || >= 2.1.2 && < 2.2 else build-tool-depends: alex:alex, happy:happy < 2.0 build-depends: diff --git a/ghc-lib-gen/src/Ghclibgen.hs b/ghc-lib-gen/src/Ghclibgen.hs index f0f5492a..414b19c5 100644 --- a/ghc-lib-gen/src/Ghclibgen.hs +++ b/ghc-lib-gen/src/Ghclibgen.hs @@ -1298,7 +1298,7 @@ libBinParserLibModules ghcFlavor = do happyBounds :: GhcFlavor -> String happyBounds ghcFlavor | series < GHC_9_8 = "== 1.20.*" - | otherwise = "== 1.20.* || >= 2.0.2 && < 2.1" -- c.f. m4/fptools_happy.m4 + | otherwise = "== 1.20.* || == 2.0.2 || >= 2.1.2 && < 2.2" -- c.f. m4/fptools_happy.m4 where series = ghcSeries ghcFlavor