summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/ExampleBased.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Compile/ExampleBased.hs')
-rw-r--r--src/compiler/GF/Compile/ExampleBased.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/ExampleBased.hs b/src/compiler/GF/Compile/ExampleBased.hs
index 46fb8b5d7..24944d9b6 100644
--- a/src/compiler/GF/Compile/ExampleBased.hs
+++ b/src/compiler/GF/Compile/ExampleBased.hs
@@ -41,7 +41,7 @@ convertFile conf src file = do
convEx (cat,ex) = do
appn "("
let typ = maybe (error "no valid cat") id $ readType cat
- ws <- case fst (parse_ pgf lang typ ex) of
+ ws <- case fst (parse_ pgf lang typ (Just 4) ex) of
ParseFailed _ -> do
let ws = morphoMissing morpho (words ex)
appv ("WARNING: cannot parse example " ++ ex)