mirror of
https://github.com/gbdev/rgbds.git
synced 2026-01-22 00:11:53 +00:00
Remove exclamation marks and periods from error messages (#1874)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user