1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

Output version information into the debug file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4783 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-08-05 20:41:27 +00:00
parent 0807da74bd
commit 12e7cc010d

View File

@ -6,8 +6,8 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 2003 Ullrich von Bassewitz */ /* (C) 2003-2010, Ullrich von Bassewitz */
/* Römerstraße 52 */ /* Roemerstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
/* */ /* */
@ -64,6 +64,9 @@ void CreateDbgFile (void)
Error ("Cannot create debug file `%s': %s", DbgFileName, strerror (errno)); Error ("Cannot create debug file `%s': %s", DbgFileName, strerror (errno));
} }
/* Output version information */
fprintf (F, "version\tmajor=1,minor=0\n");
/* Clear the debug sym table (used to detect duplicates) */ /* Clear the debug sym table (used to detect duplicates) */
ClearDbgSymTable (); ClearDbgSymTable ();