Changed most "backticks" (grave accents) into apostrophes.

Quotations that are embraced by tick marks now look better, in most fonts.
This commit is contained in:
Greg King
2019-01-05 14:57:12 -05:00
parent 5ac11b5e88
commit a6b04f6e97
109 changed files with 501 additions and 501 deletions

View File

@@ -148,7 +148,7 @@ void AsmInc (const char* Filename, char CommentStart, int IgnoreUnknown)
++L;
} else {
if (!IgnoreUnknown) {
Error ("%s(%u): Missing `='", Filename, Line);
Error ("%s(%u): Missing '='", Filename, Line);
}
continue;
}

View File

@@ -78,12 +78,12 @@ void LoadCode (void)
/* Open the file */
F = fopen (InFile, "rb");
if (F == 0) {
Error ("Cannot open `%s': %s", InFile, strerror (errno));
Error ("Cannot open '%s': %s", InFile, strerror (errno));
}
/* Seek to the end to get the size of the file */
if (fseek (F, 0, SEEK_END) != 0) {
Error ("Cannot seek on file `%s': %s", InFile, strerror (errno));
Error ("Cannot seek on file '%s': %s", InFile, strerror (errno));
}
Size = ftell (F);
@@ -101,7 +101,7 @@ void LoadCode (void)
** the file.
*/
if (fseek (F, InputOffs, SEEK_SET) != 0) {
Error ("Cannot seek on file `%s': %s", InFile, strerror (errno));
Error ("Cannot seek on file '%s': %s", InFile, strerror (errno));
}
Size -= InputOffs;
@@ -130,10 +130,10 @@ void LoadCode (void)
/* Check if the size is larger than what we can read */
if (Size == 0) {
Error ("Nothing to read from input file `%s'", InFile);
Error ("Nothing to read from input file '%s'", InFile);
}
if (Size > MaxCount) {
Warning ("File `%s' is too large, ignoring %ld bytes",
Warning ("File '%s' is too large, ignoring %ld bytes",
InFile, Size - MaxCount);
} else if (MaxCount > Size) {
MaxCount = (unsigned) Size;
@@ -142,7 +142,7 @@ void LoadCode (void)
/* Read from the file and remember the number of bytes read */
Count = fread (CodeBuf + StartAddr, 1, MaxCount, F);
if (ferror (F) || Count != MaxCount) {
Error ("Error reading from `%s': %s", InFile, strerror (errno));
Error ("Error reading from '%s': %s", InFile, strerror (errno));
}
/* Close the file */

View File

@@ -617,7 +617,7 @@ int main (int argc, char* argv [])
} else {
/* Filename. Check if we already had one */
if (InFile) {
fprintf (stderr, "%s: Don't know what to do with `%s'\n",
fprintf (stderr, "%s: Don't know what to do with '%s'\n",
ProgName, Arg);
exit (EXIT_FAILURE);
} else {

View File

@@ -96,7 +96,7 @@ void OpenOutput (const char* Name)
if (Name != 0) {
F = fopen (Name, "w");
if (F == 0) {
Error ("Cannot open `%s': %s", Name, strerror (errno));
Error ("Cannot open '%s': %s", Name, strerror (errno));
}
} else {
F = stdout;

View File

@@ -7,7 +7,7 @@
/* */
/* */
/* (C) 2000-2005 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -466,7 +466,7 @@ Again:
/* C++ style comment */
NextChar ();
if (C != '/') {
InfoError ("Invalid token `/'");
InfoError ("Invalid token '/'");
}
do {
NextChar ();
@@ -482,7 +482,7 @@ Again:
break;
default:
InfoError ("Invalid character `%c'", C);
InfoError ("Invalid character '%c'", C);
}
}
@@ -503,7 +503,7 @@ void InfoConsume (unsigned T, const char* Msg)
void InfoConsumeLCurly (void)
/* Consume a left curly brace */
{
InfoConsume (INFOTOK_LCURLY, "`{' expected");
InfoConsume (INFOTOK_LCURLY, "'{' expected");
}
@@ -511,7 +511,7 @@ void InfoConsumeLCurly (void)
void InfoConsumeRCurly (void)
/* Consume a right curly brace */
{
InfoConsume (INFOTOK_RCURLY, "`}' expected");
InfoConsume (INFOTOK_RCURLY, "'}' expected");
}
@@ -519,7 +519,7 @@ void InfoConsumeRCurly (void)
void InfoConsumeSemi (void)
/* Consume a semicolon */
{
InfoConsume (INFOTOK_SEMI, "`;' expected");
InfoConsume (INFOTOK_SEMI, "';' expected");
}
@@ -527,7 +527,7 @@ void InfoConsumeSemi (void)
void InfoConsumeColon (void)
/* Consume a colon */
{
InfoConsume (INFOTOK_COLON, "`:' expected");
InfoConsume (INFOTOK_COLON, "':' expected");
}
@@ -683,7 +683,7 @@ void InfoOpenInput (void)
/* Open the file */
InputFile = fopen (InfoFile, "r");
if (InputFile == 0) {
Error ("Cannot open `%s': %s", InfoFile, strerror (errno));
Error ("Cannot open '%s': %s", InfoFile, strerror (errno));
}
/* Initialize variables */