src/Pure/ProofGeneral/pgip_input.ML
changeset 36692 54b64d4ad524
parent 29606 fedb8be05f24
child 38228 ada3ab6b9085
equal deleted inserted replaced
36674:d95f39448121 36692:54b64d4ad524
   225    | "quitpgip" => Quitpgip { }
   225    | "quitpgip" => Quitpgip { }
   226 
   226 
   227    (* We allow sending proper document markup too; we map it back to dostep   *)
   227    (* We allow sending proper document markup too; we map it back to dostep   *)
   228    (* and strip out metainfo elements. Markup correctness isn't checked: this *)
   228    (* and strip out metainfo elements. Markup correctness isn't checked: this *)
   229    (* is a compatibility measure to make it easy for interfaces.              *)
   229    (* is a compatibility measure to make it easy for interfaces.              *)
   230    | x => if (x mem PgipMarkup.doc_markup_elements) then
   230    | x => if member (op =) PgipMarkup.doc_markup_elements x then
   231               if (x mem PgipMarkup.doc_markup_elements_ignored) then
   231               if member (op =) PgipMarkup.doc_markup_elements_ignored x then
   232                   raise NoAction
   232                   raise NoAction
   233               else 
   233               else 
   234                   Dostep { text = xmltext data } (* could separate out Doitem too *)
   234                   Dostep { text = xmltext data } (* could separate out Doitem too *)
   235           else raise Unknown) 
   235           else raise Unknown) 
   236     handle Unknown => NONE | NoAction => NONE
   236     handle Unknown => NONE | NoAction => NONE