Commit fddddbf4 authored by Vladislav Zavialov's avatar Vladislav Zavialov Committed by Marge Bot

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.
parent 2d8ca917
...@@ -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 GHC.Cmm.Parser ( parseCmmFile ) where module GHC.Cmm.Parser ( parseCmmFile ) where
import GHC.Prelude import GHC.Prelude
import qualified Prelude -- for happy-generated code
import GHC.Platform import GHC.Platform
import GHC.Platform.Profile import GHC.Platform.Profile
......
...@@ -46,7 +46,7 @@ import Data.Char ...@@ -46,7 +46,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 -- compiler
import GHC.Hs import GHC.Hs
......
Markdown is supported
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