diff options
author | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2015-09-22 15:41:50 +0200 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2015-09-22 15:41:50 +0200 |
commit | 0af966a42eb60e9af43f9a450d924758a83946c6 (patch) | |
tree | 2bef73e80a8a80da1c47deee66dc825feac45bdd /flocq/Flocq_version.v | |
parent | c212ab7a8adea516db72f17d818393629dbde1b3 (diff) | |
download | compcert-0af966a42eb60e9af43f9a450d924758a83946c6.tar.gz compcert-0af966a42eb60e9af43f9a450d924758a83946c6.zip |
Upgrade to Flocq 2.5.0.
Note: this version of Flocq is compatible with both Coq 8.4 and 8.5.
Diffstat (limited to 'flocq/Flocq_version.v')
-rw-r--r-- | flocq/Flocq_version.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/flocq/Flocq_version.v b/flocq/Flocq_version.v index d2d9d3fb..c391f590 100644 --- a/flocq/Flocq_version.v +++ b/flocq/Flocq_version.v @@ -25,7 +25,8 @@ Definition Flocq_version := Eval vm_compute in let fix parse s major minor := match s with | String "."%char t => parse t (major * 100 + minor)%N N0 - | String h t => parse t major (minor + N_of_ascii h - N_of_ascii "0"%char)%N + | String h t => + parse t major (minor * 10 + N_of_ascii h - N_of_ascii "0"%char)%N | Empty_string => (major * 100 + minor)%N end in - parse "2.4.0"%string N0 N0. + parse "2.5.0"%string N0 N0. |