diff options
author | Ian Lynagh <igloo@earth.li> | 2008-01-24 15:01:37 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-01-24 15:01:37 +0000 |
commit | bf61a20559071d042ebeabb3c65383d1c90dd35c (patch) | |
tree | 82c7127633ca28e4daf8b6a187719f0f9387e1af /compiler/parser | |
parent | e9d950597e5800411fbcfb9fac8a5258fa8e11ce (diff) | |
download | haskell-bf61a20559071d042ebeabb3c65383d1c90dd35c.tar.gz |
A touch more strictness in the parser
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/Parser.y.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index 8d9f9ef895..167c8b6118 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -1222,7 +1222,7 @@ decl :: { Located (OrdList (LHsDecl RdrName)) } PatBind (LL $ BangPat pat) (unLoc $3) placeHolderType placeHolderNames)) } } | infixexp opt_sig rhs {% do { r <- checkValDef $1 $2 $3; - return (LL $! (unitOL $! (LL $ ValD r))) } } + return $! (LL $! (unitOL $! (LL $ ValD r))) } } | docdecl { LL $ unitOL $1 } rhs :: { Located (GRHSs RdrName) } |