summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-04-30 20:18:26 +0000
committerkrasimir <krasimir@chalmers.se>2010-04-30 20:18:26 +0000
commit9e7b914c3c5384feed3981acae89afaa7402e92b (patch)
tree1b1e1e1132cbfb752b38d2b9675583c7c7067092 /src/compiler/GF/Command
parent1c590e41f4a1e94e050980a6b161e4385a9e7cfa (diff)
for backward compatibility we have the old parse function again. the old functionality is exposed by parse_
Diffstat (limited to 'src/compiler/GF/Command')
-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 f89e497ad..2de7fb9cf 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -897,7 +897,7 @@ allCommands env@(pgf, mos) = Map.fromList [
]
where
par opts s = case optOpenTypes opts of
- [] -> [parse pgf lang (optType opts) s | lang <- optLangs opts]
+ [] -> [parse_ pgf lang (optType opts) s | lang <- optLangs opts]
open_typs -> [parseWithRecovery pgf lang (optType opts) open_typs s | lang <- optLangs opts]
void = ([],[])