Remove exclamation marks and periods from error messages (#1874)

This commit is contained in:
Rangi
2025-12-10 11:50:33 -05:00
committed by GitHub
parent 27dca5680c
commit 2666dcbc26
172 changed files with 198 additions and 197 deletions

View File

@@ -407,7 +407,7 @@ static void verboseOutputConfig() {
}
// -n/--sym
printPath("Output sym file", options.symFileName);
fputs("Ready.\n", stderr);
fputs("Ready for linking\n", stderr);
style_Reset(stderr);
}

View File

@@ -452,7 +452,7 @@ void obj_ReadFile(std::string const &filePath, size_t fileID) {
// A single `ungetc` is guaranteed to work.
switch (ungetc(getc(file), file)) {
case EOF:
fatal("File \"%s\" is empty!", fileName);
fatal("File \"%s\" is empty", fileName);
case 'X':
case 'D':

View File

@@ -296,7 +296,7 @@ void sdobj_ReadFile(FileStackNode const &src, FILE *file, std::vector<Symbol> &f
if (tmp > UINT16_MAX) {
fatalAt(
where,
"Area \"%s\" is larger than the GB address space!?",
"Area \"%s\" is larger than the GB address space",
curSection->name.c_str()
);
}