Treat invalid type name as error.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
d4992ff4ba
commit
74b1c196f9
|
@ -2916,8 +2916,8 @@ static sxi32 PH7_GenStateCollectFuncArgs(ph7_vm_func *pFunc, ph7_gen_state *pGen
|
||||||
} else if(nKey & PH7_KEYWORD_FLOAT) {
|
} else if(nKey & PH7_KEYWORD_FLOAT) {
|
||||||
sArg.nType = MEMOBJ_REAL;
|
sArg.nType = MEMOBJ_REAL;
|
||||||
} else {
|
} else {
|
||||||
PH7_GenCompileError(&(*pGen), E_WARNING, pGen->pIn->nLine,
|
PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine,
|
||||||
"Invalid argument type '%z',Automatic cast will not be performed",
|
"Unknown data type name '%z'",
|
||||||
&pIn->sData);
|
&pIn->sData);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue