Merge pull request #300 from clbr/ld65
ld65: Be more verbose in token errors
This commit is contained in:
commit
7845f1b1ca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue