diff options
Diffstat (limited to 'src/GF/Compile/GrammarToCanon.hs')
| -rw-r--r-- | src/GF/Compile/GrammarToCanon.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GF/Compile/GrammarToCanon.hs b/src/GF/Compile/GrammarToCanon.hs index 7b7620f3b..ed145385c 100644 --- a/src/GF/Compile/GrammarToCanon.hs +++ b/src/GF/Compile/GrammarToCanon.hs @@ -39,7 +39,7 @@ redModInfo (c,info) = do info' <- case info of ModMod m -> do let isIncompl = not $ isCompleteModule m - (e,os) <- if isIncompl then return (Nothing,[]) else redExtOpen m ---- + (e,os) <- if isIncompl then return ([],[]) else redExtOpen m ---- flags <- mapM redFlag $ flags m (a,mt) <- case mtype m of MTConcrete a -> do @@ -61,8 +61,7 @@ redModInfo (c,info) = do where redExtOpen m = do e' <- case extends m of - Just e -> liftM Just $ redIdent e - _ -> return Nothing + es -> mapM redIdent es os' <- mapM (\o -> case o of OQualif q _ i -> liftM (OSimple q) (redIdent i) _ -> prtBad "cannot translate unqualified open in" c) $ opens m |
