From 1ca54cca208876f83014119da55e747d5342b434 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 28 Jan 2004 12:42:20 +0000 Subject: Unicode. Batch transl into HTML. --- src/GF/Compile/Update.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/GF/Compile') diff --git a/src/GF/Compile/Update.hs b/src/GF/Compile/Update.hs index 4eb4849ef..ae8dc4aac 100644 --- a/src/GF/Compile/Update.hs +++ b/src/GF/Compile/Update.hs @@ -48,8 +48,13 @@ unifyAnyInfo c i j = errIn ("combining information for" +++ prt c) $ case (i,j) liftM3 CncCat (unifPerhaps mc1 mc2) (unifPerhaps mf1 mf2) (unifPerhaps mp1 mp2) (CncFun m mt1 md1, CncFun _ mt2 md2) -> liftM2 (CncFun m) (unifPerhaps mt1 mt2) (unifPerhaps md1 md2) ---- adding defs +-- for bw compatibility with unspecified printnames in old GF + (CncFun Nothing Nope (Yes pr),_) -> + unifyAnyInfo c (CncCat Nope Nope (Yes pr)) j + (_,CncFun Nothing Nope (Yes pr)) -> + unifyAnyInfo c i (CncCat Nope Nope (Yes pr)) - _ -> Bad $ "cannot unify information for" +++ show i + _ -> Bad $ "cannot unify informations in" +++ show i +++ "and" +++ show j --- these auxiliaries should be somewhere else since they don't use the info types -- cgit v1.2.3