summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Session.hs
diff options
context:
space:
mode:
authoraarne <unknown>2003-10-08 10:09:58 +0000
committeraarne <unknown>2003-10-08 10:09:58 +0000
commita979508aa75a3f2b93072d214ca9c75ed874a39c (patch)
tree74add47e62a9b5fdb1720a365754f738c3de4b93 /src/GF/UseGrammar/Session.hs
parent889e5a92e4e0c40ab249f9f86d0fa2647132d87a (diff)
Restored printnames.
Diffstat (limited to 'src/GF/UseGrammar/Session.hs')
-rw-r--r--src/GF/UseGrammar/Session.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/UseGrammar/Session.hs b/src/GF/UseGrammar/Session.hs
index 051630149..81158a515 100644
--- a/src/GF/UseGrammar/Session.hs
+++ b/src/GF/UseGrammar/Session.hs
@@ -96,7 +96,7 @@ refineByExps der gr trees = case trees of
refineByTrees :: Bool -> CGrammar -> [Tree] -> ECommand
refineByTrees der gr trees = case trees of
- [t] -> action2commandNext (refineWithTree der gr t)
+ [t] -> action2commandNext (refineOrReplaceWithTree der gr t)
_ -> changeCands $ map tree2exp trees
replaceByTrees :: CGrammar -> [Exp] -> ECommand