shithub: rgbds

Download patch

ref: 036b6c1b89583f1cfe963d05d972a05df40deb4e
parent: 8e2a164a32b488ef3955250889f1873f77fcf115
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Fri Nov 19 14:52:57 EST 2021

Capitalize "FATAL:" in rgblink error messages
"warning:" and "error:" are lowercase
This matches rgbasm's formatting

--- a/src/link/main.c
+++ b/src/link/main.c
@@ -124,7 +124,7 @@
 {
 	va_list ap;
 
-	fputs("fatal: ", stderr);
+	fputs("FATAL: ", stderr);
 	if (where) {
 		dumpFileStack(where);
 		fprintf(stderr, "(%" PRIu32 "): ", lineNo);
@@ -425,7 +425,7 @@
 
 	/* 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);
 	}
--- a/test/link/assert.out
+++ b/test/link/assert.out
@@ -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
--- a/test/link/cascading-errors-fatal-assert.out
+++ b/test/link/cascading-errors-fatal-assert.out
@@ -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