summaryrefslogtreecommitdiffstats
path: root/parsing/syntaxerr.mli
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2013-09-12 11:59:45 +0000
committerAlain Frisch <alain@frisch.fr>2013-09-12 11:59:45 +0000
commit71efb4666b1df8cc841fe3d7b0ffe43fcd8d2958 (patch)
tree9898a7a09c2a1781811766baee22e6cb8a37ade4 /parsing/syntaxerr.mli
parent6ad98b3d0927ab206eec09aeaa3d7f776e1d2c0e (diff)
Switch Lexer.Error to the new system.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/exception_registration@14107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'parsing/syntaxerr.mli')
-rw-r--r--parsing/syntaxerr.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/syntaxerr.mli b/parsing/syntaxerr.mli
index 0bacb0f95..1aec26ed5 100644
--- a/parsing/syntaxerr.mli
+++ b/parsing/syntaxerr.mli
@@ -26,5 +26,6 @@ exception Error of error
exception Escape_error
val report_error: formatter -> error -> unit
+ (* Deprecated. Use Location.{error_of_exn, report_error}. *)
val location_of_error: error -> Location.t