Correct error message.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-12-21 16:22:16 +01:00
부모 b527840f10
커밋 0bf2f6d94f
로그인 계정: belliash
GPG 키 ID: 4E829243E0CFE6B4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -5072,7 +5072,7 @@ PH7_PRIVATE sxi32 PH7_VmByteCodeExec(ph7_vm *pVm) {
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR, "Cannot find a program entry point 'Program::main()'");
}
if(pMethod->sFunc.nType != MEMOBJ_INT && pMethod->sFunc.nType != MEMOBJ_VOID) {
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR, "The 'Program::main()' can only return an Integer or Void value");
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR, "The 'Program::main()' return value can be either Integer or Void");
}
/* A set of arguments is stored in array of strings */
pArgs->nType |= MEMOBJ_STRING;