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:
parent
aa4a7735d7
commit
8951e74ba7
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user