summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser.y
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2020-08-20 14:40:15 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-21 09:37:49 -0400
commitfddddbf47d6ba2b1b3b6ec89bd40c8fa020e6606 (patch)
tree4362f2d397a793b4cc0cb19fbdefb315a8ff4bac /compiler/GHC/Parser.y
parent2d8ca9170328249a436c3b5647b8e548d32b11c8 (diff)
downloadhaskell-fddddbf47d6ba2b1b3b6ec89bd40c8fa020e6606.tar.gz
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.
Diffstat (limited to 'compiler/GHC/Parser.y')
-rw-r--r--compiler/GHC/Parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser.y b/compiler/GHC/Parser.y
index 185dc362ea..0cd8f29cac 100644
--- a/compiler/GHC/Parser.y
+++ b/compiler/GHC/Parser.y
@@ -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