src/Pure/ProofGeneral/pgip_types.ML
changeset 22000 358525557580
parent 21973 e7c9b0d3ce82
child 22003 34e190b24399
--- a/src/Pure/ProofGeneral/pgip_types.ML	Thu Jan 04 17:55:12 2007 +0100
+++ b/src/Pure/ProofGeneral/pgip_types.ML	Thu Jan 04 18:09:30 2007 +0100
@@ -44,7 +44,7 @@
     datatype messagecategory = Normal | Information | Tracing | Internal 
 
     (* Error levels *)
-    datatype fatality = Nonfatal | Fatal | Panic | Log | Debug
+    datatype fatality = Warning | Nonfatal | Fatal | Panic | Log | Debug
 
     (* File location *)
     type location = { descr: string option,
@@ -330,7 +330,7 @@
 
 datatype messagecategory = Normal | Information | Tracing | Internal 
 
-datatype fatality = Nonfatal | Fatal | Panic | Log | Debug
+datatype fatality = Warning | Nonfatal | Fatal | Panic | Log | Debug
 
 type location = { descr: string option,
 		  url: pgipurl option,
@@ -375,7 +375,8 @@
     | string_of_msgcat Tracing = "tracing"
     | string_of_msgcat Normal = "normal"   (* omitted in PGIP *)
 
-  fun string_of_fatality Nonfatal = "nonfatal"
+  fun string_of_fatality Warning = "warning"
+    | string_of_fatality Nonfatal = "nonfatal"
     | string_of_fatality Fatal = "fatal"
     | string_of_fatality Panic = "panic"
     | string_of_fatality Log = "log"