summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-07-01 08:51:59 +0000
committerkrasimir <krasimir@chalmers.se>2010-07-01 08:51:59 +0000
commit5ae7be358daf169a3852d93f36c30c4ce7d0363e (patch)
treedcbc25272686a5e04da654c657bd140c349aac2b /src/compiler/GF/Command/Commands.hs
parent706b215fce733ab4e342bce4fc9cc37c16f9875c (diff)
redesign the open-literals API
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index 2ea3e169c..6f3700032 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -1012,7 +1012,7 @@ allCommands env@(pgf, mos) = Map.fromList [
_ -> fromExprs ts
where
(prs,bss) = unzip parses
- ts = [t | ParseResult ts <- prs, t <- ts]
+ ts = [t | ParseOk ts <- prs, t <- ts]
returnFromExprs es = return $ case es of
[] -> ([], "no trees found")