From fae1b5c4c2c38133da8caa87ee66abb411ca4af4 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 1 Jul 2015 17:59:05 +0200 Subject: Added Build, Tag, etc in version string and driver/Version.ml should be ignored --- .gitignore | 2 +- driver/Driver.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 36372810..107dd3a1 100644 --- a/.gitignore +++ b/.gitignore @@ -41,9 +41,9 @@ cparser/pre_parser.ml cparser/pre_parser.mli lib/Readconfig.ml lib/Tokenize.ml +driver/Version.ml # Documentation doc/coq2html doc/coq2html.ml doc/html doc/html/ - diff --git a/driver/Driver.ml b/driver/Driver.ml index 402bdb65..30315fd0 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -388,7 +388,7 @@ let explode_comma_option s = let version_string = if Version.buildnr <> "" && Version.tag <> "" then - sprintf "The CompCert verified compiler, %s,%s,%s\n" Version.version Version.buildnr Version.tag + sprintf "The CompCert verified compiler, %s, Build: %s, Tag: %s\n" Version.version Version.buildnr Version.tag else "The CompCert C verified compiler, version "^ Version.version ^ "\n" -- cgit