for backward compatibility we have the old parse function again. the old functionality is exposed by parse_

This commit is contained in:
krasimir
2010-04-30 20:18:26 +00:00
parent 1c590e41f4
commit 9e7b914c3c
5 changed files with 23 additions and 18 deletions

View File

@@ -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 ex) of
ParseFailed _ -> do
let ws = morphoMissing morpho (words ex)
appv ("WARNING: cannot parse example " ++ ex)