diff options
Diffstat (limited to 'parsing/syntaxerr.mli')
-rw-r--r-- | parsing/syntaxerr.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parsing/syntaxerr.mli b/parsing/syntaxerr.mli index 08de06de6..03cf532eb 100644 --- a/parsing/syntaxerr.mli +++ b/parsing/syntaxerr.mli @@ -16,6 +16,7 @@ open Format type error = Unclosed of Location.t * string * Location.t * string + | Expecting of Location.t * string | Applicative_path of Location.t | Variable_in_scope of Location.t * string | Other of Location.t @@ -24,3 +25,5 @@ exception Error of error exception Escape_error val report_error: formatter -> error -> unit + +val location_of_error: error -> Location.t |