summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorAdam Sandberg Eriksson <adam@sandbergericsson.se>2015-08-10 12:55:50 +0200
committerBen Gamari <ben@smart-cactus.org>2015-08-10 13:40:21 +0200
commitb4ed13000cf0cbbb5916727dad018d91c10f1fd8 (patch)
treed8d6469ff5a2f6c90042c556ed492a6cc39d0da7 /compiler/parser
parenta40ec755d8e020cd4b87975f5a751f1e35c36977 (diff)
downloadhaskell-b4ed13000cf0cbbb5916727dad018d91c10f1fd8.tar.gz
Replace HsBang type with HsSrcBang and HsImplBang
Updates haddock submodule. Reviewers: tibbe, goldfire, simonpj, austin, bgamari Reviewed By: simonpj, bgamari Subscribers: goldfire, thomie, mpickering Differential Revision: https://phabricator.haskell.org/D1069
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 4b8eca6b5a..1b4df16d28 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -1459,9 +1459,9 @@ sigtypes1 :: { (OrdList (LHsType RdrName)) } -- Always HsForAllTys
-----------------------------------------------------------------------------
-- Types
-strict_mark :: { Located ([AddAnn],HsBang) }
+strict_mark :: { Located ([AddAnn],HsSrcBang) }
: strictness { sL1 $1 (let (a, str) = unLoc $1 in (a, HsSrcBang Nothing NoSrcUnpack str)) }
- | unpackedness { sL1 $1 (let (a, prag, unpk) = unLoc $1 in (a, HsSrcBang prag unpk NoSrcStrictness)) }
+ | unpackedness { sL1 $1 (let (a, prag, unpk) = unLoc $1 in (a, HsSrcBang prag unpk NoSrcStrict)) }
| unpackedness strictness { sLL $1 $> (let { (a, prag, unpk) = unLoc $1
; (a', str) = unLoc $2 }
in (a ++ a', HsSrcBang prag unpk str)) }