Reorganisation of the source tree
[ghc-hetmet.git] / compiler / main / ErrUtils.lhs-boot
diff --git a/compiler/main/ErrUtils.lhs-boot b/compiler/main/ErrUtils.lhs-boot
new file mode 100644 (file)
index 0000000..77d6cfd
--- /dev/null
@@ -0,0 +1,16 @@
+\begin{code}
+module ErrUtils where
+
+import Outputable (SDoc)
+import SrcLoc (SrcSpan)
+
+data Severity
+  = SevInfo
+  | SevWarning
+  | SevError
+  | SevFatal
+
+type Message = SDoc
+
+mkLocMessage :: SrcSpan -> Message -> Message
+\end{code}