ProgTutorial/antiquote_setup.ML
changeset 356 43df2d59fb98
parent 346 0fea8b7a14a1
child 367 643b1e1d7d29
--- a/ProgTutorial/antiquote_setup.ML	Tue Oct 20 12:25:20 2009 +0200
+++ b/ProgTutorial/antiquote_setup.ML	Thu Oct 22 02:03:14 2009 +0200
@@ -81,13 +81,13 @@
 (* checks and expression agains a result pattern *)
 fun output_response {context = ctxt, ...} (lhs, pat) = 
     (eval_fn ctxt (ml_pat (lhs, pat));
-     write_file_ml_blk lhs (Context.theory_of_proof ctxt);
+     write_file_ml_blk lhs (ProofContext.theory_of ctxt);
      output ((prefix_lines "" lhs) @ (prefix_lines "> " pat)))
 
 (* checks the expressions, but does not check it against a result pattern *)
 fun output_response_fake {context = ctxt, ...} (lhs, pat) = 
     (eval_fn ctxt (ml_val [] NONE lhs);
-     write_file_ml_blk lhs (Context.theory_of_proof ctxt);
+     write_file_ml_blk lhs (ProofContext.theory_of ctxt);
      output ((split_lines lhs) @ (prefix_lines "> " pat)))
 
 (* checks the expressions, but does not check it against a result pattern *)