Commit 29e9d2d1 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 5ccf44c6
Pipeline #23997 passed with stages
in 469 minutes and 58 seconds
......@@ -203,6 +203,7 @@ necessary to the stack to accommodate it (e.g. 2).
module GHC.Cmm.Parser ( parseCmmFile ) where
import GHC.Prelude
import qualified Prelude -- for happy-generated code
import GHC.StgToCmm.ExtCode
import GHC.Cmm.CallConv
......@@ -46,7 +46,7 @@ import Data.Char
import Data.Maybe ( maybeToList )
import Control.Monad ( mplus )
import Control.Applicative ((<$))
import qualified Prelude
import qualified Prelude -- for happy-generated code
-- compiler
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