aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-07-01 17:59:05 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-07-01 17:59:05 +0200
commitfae1b5c4c2c38133da8caa87ee66abb411ca4af4 (patch)
treee7104a1a3b0443d8a8dc6d2d121046f5e926b158
parentb59b2b182a6832e1b6ebf3cf7ba4fd1943843b74 (diff)
downloadcompcert-fae1b5c4c2c38133da8caa87ee66abb411ca4af4.tar.gz
compcert-fae1b5c4c2c38133da8caa87ee66abb411ca4af4.zip
Added Build, Tag, etc in version string and driver/Version.ml should be ignored
-rw-r--r--.gitignore2
-rw-r--r--driver/Driver.ml2
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"