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

@@ -490,7 +490,7 @@ static void verboseOutputConfig() {
fputs("\tGenerate phony dependencies\n", stderr);
}
}
fputs("Ready.\n", stderr);
fputs("Ready for assembly\n", stderr);
style_Reset(stderr);
}

View File

@@ -587,7 +587,7 @@ static uint32_t anonLabelID = 0;
Symbol *sym_AddAnonLabel() {
if (anonLabelID == UINT32_MAX) {
// LCOV_EXCL_START
error("Only %" PRIu32 " anonymous labels can be created!", anonLabelID);
error("Only %" PRIu32 " anonymous labels can be created", anonLabelID);
return nullptr;
// LCOV_EXCL_STOP
}

View File

@@ -90,7 +90,7 @@ static void incrementErrors() {
style_Set(stderr, STYLE_RED, true);
fprintf(
stderr,
"Assembly aborted after the maximum of %" PRIu64 " error%s!",
"Assembly aborted after the maximum of %" PRIu64 " error%s",
warnings.nbErrors,
warnings.nbErrors == 1 ? "" : "s"
);
@@ -136,7 +136,7 @@ void requireZeroErrors() {
style_Set(stderr, STYLE_RED, true);
fprintf(
stderr,
"Assembly aborted with %" PRIu64 " error%s!\n",
"Assembly aborted with %" PRIu64 " error%s\n",
warnings.nbErrors,
warnings.nbErrors == 1 ? "" : "s"
);