Commit d6cbfd9a authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski
Browse files

Import qualified Prelude in Cmm/Parser.y

In preparation for the next version of 'happy', c95920 added a qualified
import to GHC/Parser.y but for some reason neglected GHC/Cmm/Parser.y

This patch adds the missing qualified import to GHC/Cmm/Parser.y and
also adds a clarifying comment to explain why this import is needed.

(cherry picked from commit fddddbf4)
parent 27ddc306
Pipeline #23945 passed with stages
in 299 minutes and 40 seconds
......@@ -201,6 +201,7 @@ necessary to the stack to accommodate it (e.g. 2).
module CmmParse ( parseCmmFile ) where
import GhcPrelude
import qualified Prelude -- for happy-generated code
import StgCmmExtCode
import CmmCallConv
......@@ -37,7 +37,7 @@ import GHC.Exts
import Data.Char
import Control.Monad ( mplus )
import Control.Applicative ((<$))
import qualified Prelude
import qualified Prelude -- for happy-generated code
-- compiler/hsSyn
import HsSyn
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment