Move the version numbers from the interface of the version module into a new

implementation. Allow for release candidates to be specified and disinguished.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-09-28 20:10:01 +00:00
parent 3c6e8087f1
commit 7b847321a8
20 changed files with 165 additions and 89 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 1998-2007 Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 1998-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -340,8 +340,8 @@ static void OptVersion (const char* Opt attribute ((unused)),
/* Print the disassembler version */
{
fprintf (stderr,
"da65 V%u.%u.%u - (C) Copyright 2000-2006, Ullrich von Bassewitz\n",
VER_MAJOR, VER_MINOR, VER_PATCH);
"da65 V%s - (C) Copyright 2000-2009, Ullrich von Bassewitz\n",
GetVersionAsString ());
}

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2000-2007 Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 2000-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -75,11 +75,11 @@ static void PageHeader (void)
/* Print a page header */
{
fprintf (F,
"; da65 V%u.%u.%u - (C) Copyright 2000-2005, Ullrich von Bassewitz\n"
"; da65 V%s - (C) Copyright 2000-2009, Ullrich von Bassewitz\n"
"; Created: %s\n"
"; Input file: %s\n"
"; Page: %u\n\n",
VER_MAJOR, VER_MINOR, VER_PATCH,
GetVersionAsString (),
Now,
InFile,
Page);
@@ -188,7 +188,7 @@ void DefForward (const char* Name, const char* Comment, unsigned Offs)
LineFeed ();
}
/* Output the forward definition */
/* Output the forward definition */
Output ("%s", Name);
Indent (ACol);
if (UseHexOffs) {