aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-04 17:46:43 +0100
committerPierre-Marie Pédrot2018-11-04 17:51:44 +0100
commitb255fe1699be4e5dc067c23c92239ad1c67424f9 (patch)
tree8b22d13909761c319a1c601625a1ab3bd4391011 /vernac
parent782736024e75a67c7dd1cbb7801b217f72f79fe5 (diff)
Remove the deprecated Token module and port the corresponding code.
Diffstat (limited to 'vernac')
-rw-r--r--vernac/explainErr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/explainErr.ml b/vernac/explainErr.ml
index b37fce645a..e6803443b3 100644
--- a/vernac/explainErr.ml
+++ b/vernac/explainErr.ml
@@ -29,7 +29,7 @@ exception EvaluatedError of Pp.t * exn option
let explain_exn_default = function
(* Basic interaction exceptions *)
| Stream.Error txt -> hov 0 (str "Syntax error: " ++ str txt ++ str ".")
- | Token.Error txt -> hov 0 (str "Syntax error: " ++ str txt ++ str ".")
+ | Plexing.Error txt -> hov 0 (str "Syntax error: " ++ str txt ++ str ".")
| CLexer.Error.E err -> hov 0 (str (CLexer.Error.to_string err))
| Sys_error msg -> hov 0 (str "System error: " ++ guill msg)
| Out_of_memory -> hov 0 (str "Out of memory.")