Replace error/warning numbers by strings.
More work on address sizes and scoping. git-svn-id: svn://svn.cc65.org/cc65/trunk@2620 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 2000-2003 Ullrich von Bassewitz */
|
||||
/* R<>merstrasse 52 */
|
||||
/* R<>merstra<EFBFBD>e 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
@@ -146,7 +146,7 @@ void DisableListing (void)
|
||||
if (Listing) {
|
||||
if (ListingEnabled == 0) {
|
||||
/* Cannot switch the listing off once more */
|
||||
Error (ERR_COUNTER_UNDERFLOW);
|
||||
Error ("Counter underflow");
|
||||
} else {
|
||||
--ListingEnabled;
|
||||
}
|
||||
@@ -306,7 +306,7 @@ void CreateListing (void)
|
||||
/* Open the real listing file */
|
||||
F = fopen (ListFile, "w");
|
||||
if (F == 0) {
|
||||
Fatal (FAT_CANNOT_OPEN_LISTING, strerror (errno));
|
||||
Fatal ("Cannot open listing file: %s", strerror (errno));
|
||||
}
|
||||
|
||||
/* Reset variables, print the header for the first page */
|
||||
|
||||
Reference in New Issue
Block a user