diff options
author | Bernhard Schommer <bschommer@users.noreply.github.com> | 2017-09-22 19:50:52 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-09-22 19:53:06 +0200 |
commit | 8d5c6bb8f0cac1339dec7b730997ee30b1517073 (patch) | |
tree | 3ffd8bcb28a88ae4ff51989aed37b0ad2cb676b2 /lib/Postorder.v | |
parent | 0f210f622a4609811959f4450f770c61f5eb6532 (diff) | |
download | compcert-8d5c6bb8f0cac1339dec7b730997ee30b1517073.tar.gz compcert-8d5c6bb8f0cac1339dec7b730997ee30b1517073.zip |
Remove coq warnings (#28)
Replace deprecated functions and theorems from the Coq standard library (version 8.6) by their non-deprecated counterparts.
Diffstat (limited to 'lib/Postorder.v')
-rw-r--r-- | lib/Postorder.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Postorder.v b/lib/Postorder.v index 0215a829..3181c4cc 100644 --- a/lib/Postorder.v +++ b/lib/Postorder.v @@ -79,7 +79,7 @@ Definition transition (s: state) : PTree.t positive + state := inr _ {| gr := s.(gr); wrk := l; map := PTree.set x s.(next) s.(map); - next := Psucc s.(next) |} + next := Pos.succ s.(next) |} | (x, y :: succs_x) :: l => (**r consider [y], the next unnumbered successor of [x] *) match s.(gr)!y with | None => (**r [y] is already numbered: discard from worklist *) |