mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Capitalize "FATAL:" in rgblink error messages
"warning:" and "error:" are lowercase This matches rgbasm's formatting
This commit is contained in:
@@ -124,7 +124,7 @@ _Noreturn void fatal(struct FileStackNode const *where, uint32_t lineNo, char co
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
fputs("fatal: ", stderr);
|
||||
fputs("FATAL: ", stderr);
|
||||
if (where) {
|
||||
dumpFileStack(where);
|
||||
fprintf(stderr, "(%" PRIu32 "): ", lineNo);
|
||||
@@ -425,7 +425,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
/* If no input files were specified, the user must have screwed up */
|
||||
if (curArgIndex == argc) {
|
||||
fputs("fatal: no input files\n", stderr);
|
||||
fputs("FATAL: no input files\n", stderr);
|
||||
printUsage();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
warning: assert.asm(7): Worry about me, but not too much.
|
||||
error: assert.asm(8): Okay, this is getting serious!
|
||||
fatal: assert.asm(9): It all ends now.
|
||||
FATAL: assert.asm(9): It all ends now.
|
||||
Linking aborted after 2 errors
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
error: cascading-errors-fatal-assert.asm(1): Unknown symbol "UnknownSymbol"
|
||||
fatal: cascading-errors-fatal-assert.asm(1): couldn't evaluate assertion
|
||||
FATAL: cascading-errors-fatal-assert.asm(1): couldn't evaluate assertion
|
||||
Linking aborted after 2 errors
|
||||
|
||||
Reference in New Issue
Block a user