X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fparser%2FParser.y.pp;h=cb251366672b1dcb342897aa82a6265fa971b0c1;hb=9986a621aff7cde115b4423e19e24fd85d1cea8b;hp=418f0a13e100e89f8b5b4aa207116144b21625db;hpb=5a98231dd978a40d719faf8eaa31f369196e58cc;p=ghc-hetmet.git diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index 418f0a1..cb25136 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -1231,7 +1231,7 @@ decl :: { Located (OrdList (LHsDecl RdrName)) } | docdecl { LL $ unitOL $1 } rhs :: { Located (GRHSs RdrName) } - : '=' exp wherebinds { L (comb3 $1 $2 $3) $ GRHSs (unguardedRHS $2) (unLoc $3) } + : '=' exp wherebinds { sL (comb3 $1 $2 $3) $ GRHSs (unguardedRHS $2) (unLoc $3) } | gdrhs wherebinds { LL $ GRHSs (reverse (unLoc $1)) (unLoc $2) } gdrhs :: { Located [LGRHS RdrName] }