summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-01-25 14:58:47 +0000
committerIan Lynagh <igloo@earth.li>2008-01-25 14:58:47 +0000
commitf940a549b7562dcdbea3af81ee93b1660d279497 (patch)
treec06b8a25928d42c7a95887df9881f4d8dd9300dc /compiler/parser
parent5a98231dd978a40d719faf8eaa31f369196e58cc (diff)
downloadhaskell-f940a549b7562dcdbea3af81ee93b1660d279497.tar.gz
Parser tweak
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp
index 418f0a13e1..cb25136667 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] }