summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Command/Commands.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src-3.0/GF/Command/Commands.hs')
-rw-r--r--src-3.0/GF/Command/Commands.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src-3.0/GF/Command/Commands.hs b/src-3.0/GF/Command/Commands.hs
index 759f9a8bf..bf5c737cc 100644
--- a/src-3.0/GF/Command/Commands.hs
+++ b/src-3.0/GF/Command/Commands.hs
@@ -149,10 +149,9 @@ allCommands mgr = Map.fromAscList [
gr = gfcc mgr
fromTrees ts = (ts,unlines (map showTree ts))
- fromStrings ss = (map tStr ss, unlines ss)
- fromString s = ([tStr s], s)
- toStrings ts = [s | DTr [] (AS s) [] <- ts]
- tStr s = DTr [] (AS s) []
+ fromStrings ss = (map EStr ss, unlines ss)
+ fromString s = ([EStr s], s)
+ toStrings ts = [s | EStr s <- ts]
prGrammar opts = case valIdOpts "printer" "" opts of
"cats" -> unwords $ categories mgr