From c9ed0c42187502cfa066ae48fb55c9e6a9476428 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 20 Jan 2006 16:56:38 +0000 Subject: more french --- src/GF/Canon/CMacros.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Canon') diff --git a/src/GF/Canon/CMacros.hs b/src/GF/Canon/CMacros.hs index bb80fb0fa..a61430512 100644 --- a/src/GF/Canon/CMacros.hs +++ b/src/GF/Canon/CMacros.hs @@ -151,7 +151,7 @@ matchPatt cs0 (FV ts) = liftM FV $ mapM (matchPatt cs0) ts matchPatt cs0 trm = term2patt trm >>= match cs0 where match cs t = case cs of - Cas ps b :_ | elem t ps -> return b + Cas ps b :_ | elem t ps -> return b _:cs' -> match cs' t [] -> Bad $ "pattern not found for" +++ prt t +++ "among" ++++ unlines (map prt cs0) ---- debug -- cgit v1.2.3