From: simonmar Date: Mon, 8 Nov 1999 16:24:17 +0000 (+0000) Subject: [project @ 1999-11-08 16:24:17 by simonmar] X-Git-Tag: Approximately_9120_patches~5593 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0b3442ccd2158dac03910aefce7d0d43c6ea88ad;p=ghc-hetmet.git [project @ 1999-11-08 16:24:17 by simonmar] basck out previous change; Simon is working on a more correct fix --- diff --git a/ghc/compiler/parser/ParseUtil.lhs b/ghc/compiler/parser/ParseUtil.lhs index 77b7052..a679d3a 100644 --- a/ghc/compiler/parser/ParseUtil.lhs +++ b/ghc/compiler/parser/ParseUtil.lhs @@ -186,7 +186,6 @@ checkPat (HsApp f x) args = checkPat e [] = case e of EWildPat -> returnP WildPatIn HsVar x -> returnP (VarPatIn x) - HsLit (HsLitLit _) -> patFail HsLit l -> returnP (LitPatIn l) ELazyPat e -> checkPat e [] `thenP` (returnP . LazyPatIn) EAsPat n e -> checkPat e [] `thenP` (returnP . AsPatIn n)