Commit e512d310 authored by Vladislav Zavialov's avatar Vladislav Zavialov Committed by 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 1f8e9831
Pipeline #23996 failed with stages
in 417 minutes and 48 seconds
...@@ -203,6 +203,7 @@ necessary to the stack to accommodate it (e.g. 2). ...@@ -203,6 +203,7 @@ necessary to the stack to accommodate it (e.g. 2).
module CmmParse ( parseCmmFile ) where module CmmParse ( parseCmmFile ) where
import GhcPrelude import GhcPrelude
import qualified Prelude -- for happy-generated code
import GHC.StgToCmm.ExtCode import GHC.StgToCmm.ExtCode
import CmmCallConv import CmmCallConv
...@@ -42,7 +42,7 @@ import Data.Char ...@@ -42,7 +42,7 @@ import Data.Char
import Data.Maybe ( maybeToList ) import Data.Maybe ( maybeToList )
import Control.Monad ( mplus ) import Control.Monad ( mplus )
import Control.Applicative ((<$)) import Control.Applicative ((<$))
import qualified Prelude import qualified Prelude -- for happy-generated code
-- compiler/hsSyn -- compiler/hsSyn
import GHC.Hs import GHC.Hs
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