From d13b32ea48d255c71670321c9b8d0d611afe0a17 Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 17 Jun 2008 12:29:11 +0000 Subject: Refactor grammar export code. --- src-3.0/GF/Command/Commands.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-3.0/GF/Command') diff --git a/src-3.0/GF/Command/Commands.hs b/src-3.0/GF/Command/Commands.hs index 803fb6017..f442cfa22 100644 --- a/src-3.0/GF/Command/Commands.hs +++ b/src-3.0/GF/Command/Commands.hs @@ -441,7 +441,7 @@ allCommands pgf = Map.fromList [ unlines $ [unwords (la:":": map prCId cs) | la <- optLangs opts, let cs = missingLins pgf (mkCId la)] _ -> case valIdOpts "printer" "pgf" opts of - v -> prPGF noOptions (read v) pgf (prCId (absname pgf)) + v -> concatMap snd $ exportPGF noOptions (read v) pgf morphos opts s = [lookupMorpho (buildMorpho pgf (mkCId la)) s | la <- optLangs opts] -- cgit v1.2.3