Skip to content

Commit

Permalink
Merge pull request #248 from haskell/merge-in-from-release
Browse files Browse the repository at this point in the history
Merge in changes from release branch
  • Loading branch information
Ericson2314 authored Feb 7, 2023
2 parents 827126a + d32d807 commit de9b68c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ The main focus of this release was revamping the build system and bootstrapping.
* Some imports were tightened down, which may help building with newer versions
of `base`.

## 1.20.1

* Fix for building with mtl-2.3.1 (GHC 9.6)

## 1.20.0

* Fix #121: the -i flag produces an .info file even if the `%expect`
Expand Down Expand Up @@ -182,7 +186,7 @@ The main focus of this release was revamping the build system and bootstrapping.

## 1.11 --- 25 September 2001

* Tokens no longer have a default precedence --- if you
* Tokens no longer have a default precedence --- if you
want a token to have a precedence, you have to declare it.

* Bugfix to templates for GHC on 64-bit platforms.
Expand All @@ -203,7 +207,7 @@ The main focus of this release was revamping the build system and bootstrapping.
## 1.8

* Parser table compression, and more efficient table encoding when used
with GHC. Large grammars can now be compiled in much less time/space
with GHC. Large grammars can now be compiled in much less time/space
than before using GHC.

* Yacc-style operator precedence, thanks to patches from Hermann
Expand All @@ -219,8 +223,8 @@ The main focus of this release was revamping the build system and bootstrapping.

* Several bug fixes.

* A new option, `-c`, generates parsers that use GHC's unsafeCoerce#
primitive to speed up parsing and cut down the binary size. The `-c`
* A new option, `-c`, generates parsers that use GHC's `unsafeCoerce#`
primitive to speed up parsing and cut down the binary size. The `-c`
option can only be used with the -g (GHC extensions) option.

* Parsers generated with the -g option will compile to smaller binaries
Expand Down Expand Up @@ -262,7 +266,7 @@ We have a Haskell parser that uses Happy, which will shortly be part of the libr
* The `%newline` feature is removed, the same effect can be achieved
using the new monad support.

## 0.9:
## 0.9

* Happy should be much faster than before.

Expand Down
2 changes: 1 addition & 1 deletion happy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ license: BSD2
license-file: LICENSE
copyright: (c) Andy Gill, Simon Marlow
author: Andy Gill and Simon Marlow
maintainer: Simon Marlow <marlowsd@gmail.com>
maintainer: https://github.com/haskell/happy
bug-reports: https://github.com/haskell/happy/issues
stability: stable
homepage: https://www.haskell.org/happy/
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/Happy/Frontend/Mangler.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ This is only supported in the bootstrapped version
#ifdef HAPPY_BOOTSTRAP
> import Happy.Frontend.AttrGrammar.Parser
> import Data.List ( findIndices, groupBy, intersperse, nub )
> import Control.Monad ( when )
#endif

> import Happy.Frontend.ParamRules
Expand All @@ -31,6 +30,7 @@ This is only supported in the bootstrapped version
> import Data.Maybe ( fromMaybe )
> import Data.Ord

> import Control.Monad
> import Control.Monad.Writer ( Writer, MonadWriter(..), mapWriter, runWriter )

-----------------------------------------------------------------------------
Expand Down

0 comments on commit de9b68c

Please sign in to comment.