Changeset 131 in dev for BasicCompiler_Common/DebugMiddleFile.cpp
- Timestamp:
- Jun 4, 2007, 7:49:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/DebugMiddleFile.cpp
r114 r131 12 12 void SetLpIndex_DebugFile(char *buffer,int *p,const Type &type){ 13 13 if(NATURAL_TYPE(type.GetBasicType())==DEF_OBJECT || NATURAL_TYPE(type.GetBasicType())==DEF_STRUCT){ 14 lstrcpy(buffer+(*p),type.GetClass(). name);14 lstrcpy(buffer+(*p),type.GetClass().GetName().c_str()); 15 15 (*p)+=lstrlen(buffer+(*p))+1; 16 16 } … … 127 127 128 128 //クラス名 129 lstrcpy(buffer+i2,pobj_c-> name);129 lstrcpy(buffer+i2,pobj_c->GetName().c_str()); 130 130 i2+=lstrlen(buffer+i2)+1; 131 131 } … … 214 214 while(pUserProc){ 215 215 if(pUserProc->GetParentClassPtr()){ 216 lstrcpy(buffer+i2,pUserProc->GetParentClassPtr()-> name);216 lstrcpy(buffer+i2,pUserProc->GetParentClassPtr()->GetName().c_str()); 217 217 i2+=lstrlen(buffer+i2)+1; 218 218 } … … 312 312 313 313 //クラス名 314 lstrcpy(buffer+i2,pobj_c-> name);314 lstrcpy(buffer+i2,pobj_c->GetName().c_str()); 315 315 i2+=lstrlen(buffer+i2)+1; 316 316 … … 357 357 i2+=sizeof(long); 358 358 if(method->pobj_InheritsClass){ 359 lstrcpy(buffer+i2,method->pobj_InheritsClass-> name);359 lstrcpy(buffer+i2,method->pobj_InheritsClass->GetName().c_str()); 360 360 i2+=lstrlen(buffer+i2)+1; 361 361 }
Note:
See TracChangeset
for help on using the changeset viewer.