shithub: rgbds

Download patch

ref: b909a5063aca9b29abe15e65eb137de0904100cc
parent: e12e7b2acca41ad2aff9ca111d34dce32ecd1c7a
author: dbrotz <43593771+dbrotz@users.noreply.github.com>
date: Wed May 29 06:56:59 EDT 2019

Include symbol name in 'symbol too long' error message

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -161,7 +161,8 @@
 	int n = snprintf(output, outputSize, "%s%s", parent->tzName, localName);
 
 	if (n >= (int)outputSize)
-		fatalerror("Symbol too long");
+		fatalerror("Symbol name is too long: '%s%s'",
+			   parent->tzName, localName);
 }
 
 /*