1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-06 12:31:12 +00:00

ld65: Be more verbose in token errors

This commit is contained in:
Lauri Kasanen 2016-05-27 20:03:58 +03:00
parent aa4a7735d7
commit 8951e74ba7

View File

@ -505,7 +505,7 @@ void CfgSpecialToken (const IdentTok* Table, unsigned Size, const char* Name)
}
/* Not found or no identifier */
CfgError (&CfgErrorPos, "%s expected", Name);
CfgError (&CfgErrorPos, "%s expected, got '%s'", Name, SB_GetConstBuf(&CfgSVal));
}