added print_mode;
authorwenzelm
Wed, 04 Apr 2007 00:11:22 +0200
changeset 22589 18735b5fef26
parent 22588 4a859d13ef83
child 22590 ac84debdd7d3
added print_mode;
src/Pure/ProofGeneral/pgip_standalone.ML
--- a/src/Pure/ProofGeneral/pgip_standalone.ML	Wed Apr 04 00:11:21 2007 +0200
+++ b/src/Pure/ProofGeneral/pgip_standalone.ML	Wed Apr 04 00:11:22 2007 +0200
@@ -19,6 +19,10 @@
 use "General/path.ML";     (* used directly *)
 use "General/table.ML";
 use "General/alist.ML";
+
+val print_mode = ref ([]: string list);
+fun print_mode_active s = member (op =) (! print_mode) s;
+
 use "General/output.ML";
 use "General/scan.ML";
 use "General/source.ML";