Changeset 135 in dev for BasicCompiler_Common/VarList.cpp
- Timestamp:
- Jun 6, 2007, 12:58:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/VarList.cpp
r114 r135 168 168 if(bPtr){ 169 169 lstrcpy(VarName,"->"); 170 lstrcat(VarName,objClass.ppobj_Member[i]-> name);170 lstrcat(VarName,objClass.ppobj_Member[i]->GetName().c_str()); 171 171 } 172 172 else{ 173 173 lstrcpy(VarName,"."); 174 lstrcat(VarName,objClass.ppobj_Member[i]-> name);174 lstrcat(VarName,objClass.ppobj_Member[i]->GetName().c_str()); 175 175 } 176 176 177 177 LONG_PTR offset; 178 178 int i2; 179 offset=objClass.GetMemberOffset( objClass.ppobj_Member[i]-> name, &i2 );179 offset=objClass.GetMemberOffset( objClass.ppobj_Member[i]->GetName().c_str(), &i2 ); 180 180 181 181 if(objClass.ppobj_Member[i]->SubScripts[0]!=-1){ … … 423 423 424 424 for(i=0;i<pUserProc->GetParentClassPtr()->iMemberNum;i++){ 425 offset=pUserProc->GetParentClassPtr()->GetMemberOffset( pUserProc->GetParentClassPtr()->ppobj_Member[i]-> name,&i2);425 offset=pUserProc->GetParentClassPtr()->GetMemberOffset( pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(),&i2); 426 426 427 427 if(pUserProc->GetParentClassPtr()->ppobj_Member[i]->SubScripts[0]!=-1){ 428 428 //配列 429 429 sprintf(temporary,"%s %s(&H%X)", 430 pUserProc->GetParentClassPtr()->ppobj_Member[i]-> name,430 pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(), 431 431 STRING_ARRAY, 432 432 (ULONG_PTR)offset); … … 442 442 else{ 443 443 VarList_Insert(hVarTree_This,&tv, 444 pUserProc->GetParentClassPtr()->ppobj_Member[i]-> name,444 pUserProc->GetParentClassPtr()->ppobj_Member[i]->GetName().c_str(), 445 445 *pUserProc->GetParentClassPtr()->ppobj_Member[i], 446 446 pThis+offset);
Note:
See TracChangeset
for help on using the changeset viewer.