Merge pull request #300 from clbr/ld65
ld65: Be more verbose in token errors
This commit is contained in:
@@ -505,7 +505,7 @@ void CfgSpecialToken (const IdentTok* Table, unsigned Size, const char* Name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Not found or no identifier */
|
/* Not found or no identifier */
|
||||||
CfgError (&CfgErrorPos, "%s expected", Name);
|
CfgError (&CfgErrorPos, "%s expected, got '%s'", Name, SB_GetConstBuf(&CfgSVal));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user