Capitalize "FATAL:" in rgblink error messages

"warning:" and "error:" are lowercase
This matches rgbasm's formatting
This commit is contained in:
Rangi
2021-11-19 19:52:57 -05:00
parent 8e2a164a32
commit 036b6c1b89
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
}

View File

@@ -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

View File

@@ -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