mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Include symbol name in 'symbol too long' error message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user