aboutsummaryrefslogtreecommitdiffstats
path: root/cparser
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-07-05 16:51:42 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2019-07-05 16:51:42 +0200
commit68e22ac70b911047e01f9917a343b7f402a0791f (patch)
treee447b5dad4143bb08c07d4f1d3ce6b7030cd3ea9 /cparser
parent998f3c5ff90f6230b722b6094761f5989beea0a5 (diff)
downloadcompcert-68e22ac70b911047e01f9917a343b7f402a0791f.tar.gz
compcert-68e22ac70b911047e01f9917a343b7f402a0791f.zip
Do not use `Pervasives.xxx` qualified names
Starting with OCaml 4.08, `Pervasives` is deprecated in favor of `Stdlib`, and uses of `Pervasives` cause fatal warnings. This commit uses unqualified names instead, as no ambiguity occurs. Closes: #300
Diffstat (limited to 'cparser')
-rw-r--r--cparser/Cutil.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Cutil.ml b/cparser/Cutil.ml
index 5ff58780..7a2f4828 100644
--- a/cparser/Cutil.ml
+++ b/cparser/Cutil.ml
@@ -29,7 +29,7 @@ let no_loc = ("", -1)
module Ident = struct
type t = ident
- let compare id1 id2 = Pervasives.compare id1.stamp id2.stamp
+ let compare id1 id2 = compare id1.stamp id2.stamp
end
module IdentSet = Set.Make(Ident)