Changeset 78 in dev for BasicCompiler_Common/DebugMiddleFile.cpp
- Timestamp:
- Mar 25, 2007, 2:47:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/DebugMiddleFile.cpp
r76 r78 138 138 // TypeDef情報 139 139 ////////////////// 140 141 extern CDBTypeDef *pobj_DBTypeDef; 142 *(long *)(buffer+i2)=pobj_DBTypeDef->iNum; 143 i2+=sizeof(long); 144 for(i3=0;i3<pobj_DBTypeDef->iNum;i3++){ 145 lstrcpy(buffer+i2,pobj_DBTypeDef->ppobj_TypeDef[i3]->lpszName); 146 i2+=lstrlen(buffer+i2)+1; 147 148 lstrcpy(buffer+i2,pobj_DBTypeDef->ppobj_TypeDef[i3]->lpszBaseName); 140 *(long *)(buffer+i2)=House::typeDefs.size(); 141 i2+=sizeof(long); 142 for(i3=0;i3<(int)House::typeDefs.size();i3++){ 143 lstrcpy(buffer+i2,House::typeDefs[i3].GetNewName().c_str() ); 144 i2+=lstrlen(buffer+i2)+1; 145 146 lstrcpy(buffer+i2,House::typeDefs[i3].GetBaseName().c_str() ); 149 147 i2+=lstrlen(buffer+i2)+1; 150 148 … … 507 505 508 506 //初期化 509 pobj_DBTypeDef=new CDBTypeDef;507 House::typeDefs.clear(); 510 508 511 509 //個数を取得 … … 516 514 i2+=lstrlen(buffer+i2)+1; 517 515 518 pobj_DBTypeDef->add(temp5,buffer+i2); 519 520 i2+=lstrlen(buffer+i2)+1; 521 } 522 523 extern CDBTypeDef *pobj_DBTypeDef; 524 pobj_DBTypeDef=this->pobj_DBTypeDef; 516 House::typeDefs.push_back( TypeDef( temp5, buffer+i2 ) ); 517 518 i2+=lstrlen(buffer+i2)+1; 519 } 525 520 526 521 //定数を取得 … … 954 949 pobj_DBClass=this->pobj_DBClass; 955 950 956 // TypeDef情報957 extern CDBTypeDef *pobj_DBTypeDef;958 pobj_DBTypeDef=this->pobj_DBTypeDef;959 960 951 //定数を取得 961 952 extern CONSTINFO **ppConstHash;
Note:
See TracChangeset
for help on using the changeset viewer.