src/Pure/PIDE/protocol.ML
changeset 66379 6392766f3c25
parent 66370 de9c6560c221
child 66712 4c98c929a12a
equal deleted inserted replaced
66378:53a6c5d4d03e 66379:6392766f3c25
    54           (YXML.parse_body toks_yxml |> let open XML.Decode in list (pair int int) end) ~~ sources;
    54           (YXML.parse_body toks_yxml |> let open XML.Decode in list (pair int int) end) ~~ sources;
    55       in
    55       in
    56         Document.change_state
    56         Document.change_state
    57           (Document.define_command (Document_ID.parse id) name blobs blobs_index toks)
    57           (Document.define_command (Document_ID.parse id) name blobs blobs_index toks)
    58       end);
    58       end);
       
    59 
       
    60 val _ =
       
    61   Isabelle_Process.protocol_command "Document.consolidate_execution"
       
    62     (fn [] => Document.consolidate_execution (Document.state ()));
    59 
    63 
    60 val _ =
    64 val _ =
    61   Isabelle_Process.protocol_command "Document.discontinue_execution"
    65   Isabelle_Process.protocol_command "Document.discontinue_execution"
    62     (fn [] => Execution.discontinue ());
    66     (fn [] => Execution.discontinue ());
    63 
    67