Add info fatality for error messages.
authoraspinall
Tue, 09 Jan 2007 12:09:49 +0100
changeset 22041 c874c3f13c45
parent 22040 635aaa46b44d
child 22042 64f8f5433f30
Add info fatality for error messages.
src/Pure/ProofGeneral/pgip_types.ML
--- a/src/Pure/ProofGeneral/pgip_types.ML	Tue Jan 09 12:09:21 2007 +0100
+++ b/src/Pure/ProofGeneral/pgip_types.ML	Tue Jan 09 12:09:49 2007 +0100
@@ -44,7 +44,7 @@
     datatype messagecategory = Normal | Information | Tracing | Internal 
 
     (* Error levels *)
-    datatype fatality = Warning | Nonfatal | Fatal | Panic | Log | Debug
+    datatype fatality = Info | Warning | Nonfatal | Fatal | Panic | Log | Debug
 
     (* File location *)
     type location = { descr: string option,
@@ -332,7 +332,7 @@
 
 datatype messagecategory = Normal | Information | Tracing | Internal 
 
-datatype fatality = Warning | Nonfatal | Fatal | Panic | Log | Debug
+datatype fatality = Info | Warning | Nonfatal | Fatal | Panic | Log | Debug
 
 type location = { descr: string option,
 		  url: pgipurl option,
@@ -379,7 +379,8 @@
     | string_of_msgcat Tracing = "tracing"
     | string_of_msgcat Normal = "normal"   (* omitted in PGIP *)
 
-  fun string_of_fatality Warning = "warning"
+  fun string_of_fatality Info = "info"
+    | string_of_fatality Warning = "warning"
     | string_of_fatality Nonfatal = "nonfatal"
     | string_of_fatality Fatal = "fatal"
     | string_of_fatality Panic = "panic"