More verbose error messages
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-12 10:30:44 +02:00
parent e866575cb5
commit c298a41eb7
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -3419,7 +3419,7 @@ loop:
iFlags |= PH7_CLASS_ATTR_CONSTANT;
if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & PH7_TK_ID) == 0) {
/* Invalid constant name */
rc = PH7_GenCompileError(pGen, E_ERROR, nLine, "Invalid constant name");
rc = PH7_GenCompileError(pGen, E_ERROR, nLine, "Invalid constant name '%z' in class '%z'", &pGen->pIn->sData, pClass->sName);
if(rc == SXERR_ABORT) {
/* Error count limit reached,abort immediately */
return SXERR_ABORT;