summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/PGFService.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/PGFService.hs b/src/server/PGFService.hs
index dae25c567..c19f7961c 100644
--- a/src/server/PGFService.hs
+++ b/src/server/PGFService.hs
@@ -135,6 +135,7 @@ doTranslate pgf input mcat mfrom mto =
| (to,output) <- linearizeAndBind pgf mto tree]
)]
| tree <- trees])]
+ jsonParseOutput (PGF.ParseIncomplete)= []
jsonParseOutput (PGF.ParseFailed _) = []
jsonParseOutput (PGF.TypeError errs) = [("typeErrors",showJSON [toJSObject [("fid", showJSON fid)
,("msg", showJSON (show (PGF.ppTcError err)))