Include symbol name in 'symbol too long' error message

This commit is contained in:
dbrotz
2019-05-29 10:56:59 -07:00
parent e12e7b2acc
commit b909a5063a

View File

@@ -161,7 +161,8 @@ static void fullSymbolName(char *output, size_t outputSize, char *localName,
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);
}
/*