diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 2000-03-06 22:12:09 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 2000-03-06 22:12:09 +0000 |
commit | b96208b7a247cbb6d9d162fbfaf54448af33589c (patch) | |
tree | a63fb52f6e36ca47129637586cf6d0fd3d576733 /parsing/syntaxerr.mli | |
parent | a56ae9a35f7cb4b5ccd128c2b9610b4913d71331 (diff) |
Revu les impressions du compilateur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2908 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'parsing/syntaxerr.mli')
-rw-r--r-- | parsing/syntaxerr.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/parsing/syntaxerr.mli b/parsing/syntaxerr.mli index 8526b159e..dba7f2902 100644 --- a/parsing/syntaxerr.mli +++ b/parsing/syntaxerr.mli @@ -14,6 +14,8 @@ (* Auxiliary type for reporting syntax errors *) +open Format + type error = Unclosed of Location.t * string * Location.t * string | Other of Location.t @@ -21,4 +23,4 @@ type error = exception Error of error exception Escape_error -val report_error: error -> unit +val report_error: formatter -> error -> unit |