Changeset 137 in dev for BasicCompiler_Common/VariableOpe.cpp
- Timestamp:
- Jun 8, 2007, 3:11:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/VariableOpe.cpp
r135 r137 571 571 if( &objClass == pobj_CompilingClass ){ 572 572 //同一クラスオブジェクトの場合はプライベートアクセスを容認する 573 if( objClass.ppobj_Member[i]->dwAccess==ACCESS_NON){573 if( objClass.ppobj_Member[i]->IsNoneAccess() ){ 574 574 if(isErrorEnabled) SetError(107,VarName,cp); 575 575 return false; … … 577 577 } 578 578 else{ 579 if(( bPrivateAccess==0&&objClass.ppobj_Member[i]->dwAccess==ACCESS_PRIVATE)||580 objClass.ppobj_Member[i]-> dwAccess==ACCESS_NON){579 if(( bPrivateAccess==0 && objClass.ppobj_Member[i]->IsPrivate() )|| 580 objClass.ppobj_Member[i]->IsNoneAccess() ){ 581 581 if(isErrorEnabled) SetError(107,VarName,cp); 582 582 return false; 583 583 } 584 else if( bPrivateAccess==0&&objClass.ppobj_Member[i]->dwAccess==ACCESS_PROTECTED){584 else if( bPrivateAccess==0 && objClass.ppobj_Member[i]->IsProtected() ){ 585 585 if(isErrorEnabled) SetError(108,VarName,cp); 586 586 return false; … … 588 588 } 589 589 590 resultType = *objClass.ppobj_Member[i];590 resultType = objClass.ppobj_Member[i]->GetType(); 591 591 592 592 //ポインタ変数の場合 … … 607 607 //入れ子構造の場合 608 608 609 return GetMemberType( objClass.ppobj_Member[i]->Get Class(),609 return GetMemberType( objClass.ppobj_Member[i]->GetType().GetClass(), 610 610 NestMember, 611 611 resultType,
Note:
See TracChangeset
for help on using the changeset viewer.