Changeset 135 in dev for BasicCompiler32/Compile_Var.cpp
- Timestamp:
- Jun 6, 2007, 12:58:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Var.cpp
r131 r135 445 445 446 446 for(i=0;i<pobj_CompilingClass->iMemberNum;i++){ 447 if(lstrcmp(VarName,pobj_CompilingClass->ppobj_Member[i]->name)==0) break; 447 if( pobj_CompilingClass->ppobj_Member[i]->GetName() == VarName ){ 448 break; 449 } 448 450 } 449 451 if(i==pobj_CompilingClass->iMemberNum) goto NonClassMember; … … 452 454 //Const修飾子のメソッド内でメンバ書き込みアクセスが発生したとき 453 455 //(コンストラクタ、デストラクタ内を除く) 454 CMethod *pMethod = pobj_DBClass->GetNowCompilingMethodInfo();456 const CMethod *pMethod = pobj_DBClass->GetNowCompilingMethodInfo(); 455 457 if( isWriteAccess && 456 pMethod-> isConst&&458 pMethod->IsConst() && 457 459 pobj_CompilingClass->IsCompilingConstructor() == false && 458 460 pobj_CompilingClass->IsCompilingDestructor() == false … … 750 752 i=GetOneParameter(InitBuf,i,temporary); 751 753 752 i3=objClass.GetMemberOffset( objClass.ppobj_Member[i2]-> name, NULL );754 i3=objClass.GetMemberOffset( objClass.ppobj_Member[i2]->GetName().c_str(), NULL ); 753 755 754 756 if(!SetInitGlobalData(offset+i3, … … 886 888 i=GetOneParameter(InitBuf,i,temporary); 887 889 888 i3=objClass.GetMemberOffset( objClass.ppobj_Member[i2]-> name, NULL );890 i3=objClass.GetMemberOffset( objClass.ppobj_Member[i2]->GetName().c_str(), NULL ); 889 891 890 892 if(!InitLocalVar(offset+i3,
Note:
See TracChangeset
for help on using the changeset viewer.