diff options
Diffstat (limited to 'plugins/xml')
-rw-r--r-- | plugins/xml/proofTree2Xml.ml4 | 1 | ||||
-rw-r--r-- | plugins/xml/xmlcommand.ml | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/xml/proofTree2Xml.ml4 b/plugins/xml/proofTree2Xml.ml4 index dcfa99792..e88bb840a 100644 --- a/plugins/xml/proofTree2Xml.ml4 +++ b/plugins/xml/proofTree2Xml.ml4 @@ -195,6 +195,7 @@ Pp.ppnl (Pp.(++) (Pp.str | {PT.ref=None;PT.goal=goal} -> X.xml_empty "Open_goal" of_attribute + | {PT.ref=Some(PT.Decl_proof _, _)} -> failwith "TODO: xml and decl_proof" in [< X.xml_cdata "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ; X.xml_cdata ("<!DOCTYPE ProofTree SYSTEM \""^prooftreedtdname ^"\">\n\n"); diff --git a/plugins/xml/xmlcommand.ml b/plugins/xml/xmlcommand.ml index 8a095bb24..676863b78 100644 --- a/plugins/xml/xmlcommand.ml +++ b/plugins/xml/xmlcommand.ml @@ -551,7 +551,8 @@ let print_ref qid fn = (* where dest is either None (for stdout) or (Some filename) *) (* pretty prints via Xml.pp the proof in progress on dest *) let show_pftreestate internal fn (kind,pftst) id = - Util.anomaly "Xmlcommand.show_pftreestate is not supported in this version." + if true then + Util.anomaly "Xmlcommand.show_pftreestate is not supported in this version." let show fn = let pftst = Pfedit.get_pftreestate () in |