From ac60a2e47af844d278216a5f873945a0e2893a21 Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 8 May 2001 16:25:30 +0000 Subject: [PATCH] [project @ 2001-05-08 16:25:30 by simonpj] Fix braino --- ghc/compiler/parser/Parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/parser/Parser.y b/ghc/compiler/parser/Parser.y index fc7db9e..b584fe8 100644 --- a/ghc/compiler/parser/Parser.y +++ b/ghc/compiler/parser/Parser.y @@ -1,6 +1,6 @@ {- ----------------------------------------------------------------------------- -$Id: Parser.y,v 1.61 2001/05/08 14:44:37 simonpj Exp $ +$Id: Parser.y,v 1.62 2001/05/08 16:25:30 simonpj Exp $ Haskell grammar. @@ -672,7 +672,7 @@ gdrhs :: { [RdrNameGRHS] } | gdrh { [$1] } gdrh :: { RdrNameGRHS } - : '|' srcloc quals '=' exp { GRHS (reverse (ExprStmt $5 $2 : $3)) $2 } + : '|' srcloc quals '=' exp { GRHS (reverse (ResultStmt $5 $2 : $3)) $2 } ----------------------------------------------------------------------------- -- Expressions -- 1.7.10.4