From af831e01a7baf6de9ac3a475368f7315c99797a7 Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 21 Sep 2009 06:56:39 +0000 Subject: refactoring in GF.Grammar.Macros --- src/GF/Compile/TC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile/TC.hs') diff --git a/src/GF/Compile/TC.hs b/src/GF/Compile/TC.hs index 8cc2ff45b..c319cbd4a 100644 --- a/src/GF/Compile/TC.hs +++ b/src/GF/Compile/TC.hs @@ -239,7 +239,7 @@ checkBranch th tenv b@(ps,t) ty = errIn ("branch" +++ show b) $ PString s -> (K s : ps, i, g, k) PInt n -> (EInt n : ps, i, g, k) PFloat n -> (EFloat n : ps, i, g, k) - PP m c xs -> (mkApp (qq (m,c)) xss : ps, j, g',k') + PP m c xs -> (mkApp (Q m c) xss : ps, j, g',k') where (xss,j,g',k') = foldr p2t ([],i,g,k) xs _ -> error $ render (text "undefined p2t case" <+> ppPatt Unqualified 0 p <+> text "in checkBranch") -- cgit v1.2.3