diff options
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/PGFService.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/PGFService.hs b/src/server/PGFService.hs index 0cf67c5c8..9d8511915 100644 --- a/src/server/PGFService.hs +++ b/src/server/PGFService.hs @@ -159,8 +159,8 @@ cpgfMain qsem command (t,(pgf,pc)) = "c-lookupmorpho"-> out t=<< morpho # from1 % textInput "c-flush" -> out t=<< flush "c-grammar" -> out t grammar - "c-abstrtree" -> outputGraphviz=<< C.graphvizAbstractTree pgf # tree - "c-parsetree" -> outputGraphviz=<< C.graphvizParseTree . snd # from1 %tree + "c-abstrtree" -> outputGraphviz=<< C.graphvizAbstractTree pgf C.graphvizDefaults # tree + "c-parsetree" -> outputGraphviz=<< (\cnc -> C.graphvizParseTree cnc C.graphvizDefaults) . snd # from1 %tree "c-wordforword" -> out t =<< wordforword # input % to _ -> badRequest "Unknown command" command where |
