Treat invalid type name as error.
Todas as verificações foram bem sucedidas
The build was successful.

Esse commit está contido em:
Rafal Kupiec 2018-09-13 18:56:01 +02:00
commit 74b1c196f9
Assinado por: belliash
ID da chave GPG: 4E829243E0CFE6B4

Ver arquivo

@ -2916,8 +2916,8 @@ static sxi32 PH7_GenStateCollectFuncArgs(ph7_vm_func *pFunc, ph7_gen_state *pGen
} else if(nKey & PH7_KEYWORD_FLOAT) {
sArg.nType = MEMOBJ_REAL;
} else {
PH7_GenCompileError(&(*pGen), E_WARNING, pGen->pIn->nLine,
"Invalid argument type '%z',Automatic cast will not be performed",
PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine,
"Unknown data type name '%z'",
&pIn->sData);
}
} else {