Changeset 271 in dev for trunk/abdev/BasicCompiler_Common/src
- Timestamp:
- Aug 10, 2007, 3:16:42 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Meta.cpp
r270 r271 35 35 36 36 // クラス 37 meta.GetClasses().Iterator_Reset(); 38 while( meta.GetClasses().Iterator_HasNext() ) 39 { 40 CClass *pClass = meta.GetClasses().Iterator_GetNext(); 41 pClass->isTargetObjectModule = false; 42 this->GetClasses().Put( pClass ); 43 } 44 meta.GetClasses().PullOutAll(); 37 45 38 46 // グローバル変数 47 BOOST_FOREACH( Variable *pVar, meta.globalVars ) 48 { 49 pVar->isTargetObjectModule = false; 50 this->globalVars.push_back( pVar ); 51 } 52 meta.globalVars.PullOutAll(); 39 53 40 54 // グローバル定数 55 meta.GetGlobalConsts().Iterator_Reset(); 56 while( meta.GetGlobalConsts().Iterator_HasNext() ) 57 { 58 CConst *pConst = meta.GetGlobalConsts().Iterator_GetNext(); 59 pConst->isTargetObjectModule = false; 60 this->GetGlobalConsts().Put( pConst ); 61 } 62 meta.GetGlobalConsts().PullOutAll(); 41 63 42 64 // グローバル定数マクロ 65 meta.GetGlobalConstMacros().Iterator_Reset(); 66 while( meta.GetGlobalConstMacros().Iterator_HasNext() ) 67 { 68 ConstMacro *pConstMacro = meta.GetGlobalConstMacros().Iterator_GetNext(); 69 pConstMacro->isTargetObjectModule = false; 70 this->GetGlobalConstMacros().Put( pConstMacro ); 71 } 72 meta.GetGlobalConstMacros().PullOutAll(); 43 73 44 74 // blittable型 75 BOOST_FOREACH( BlittableType &blittableType, meta.blittableTypes ) 76 { 77 blittableType.isTargetObjectModule = false; 78 this->blittableTypes.push_back( blittableType ); 79 } 80 meta.blittableTypes.clear(); 45 81 46 82 // TypeDef 83 BOOST_FOREACH( TypeDef &typeDef, meta.typeDefs ) 84 { 85 typeDef.isTargetObjectModule = false; 86 this->typeDefs.push_back( typeDef ); 87 } 88 meta.typeDefs.clear(); 47 89 48 90 // 関数ポインタ 91 BOOST_FOREACH( ProcPointer *pProcPointer, meta.procPointers ) 92 { 93 pProcPointer->isTargetObjectModule = false; 94 this->procPointers.push_back( pProcPointer ); 95 } 96 meta.procPointers.PullOutAll(); 49 97 } -
trunk/abdev/BasicCompiler_Common/src/Symbol.cpp
r208 r271 8 8 9 9 Symbol::Symbol( const char *fullName ) 10 : isTargetObjectModule( true ) 10 11 { 11 12 char areaName[VN_SIZE] = ""; //オブジェクト変数 … … 17 18 } 18 19 Symbol::Symbol( const string &fullName ) 20 : isTargetObjectModule( true ) 19 21 { 20 22 char areaName[VN_SIZE] = ""; //オブジェクト変数
Note:
See TracChangeset
for help on using the changeset viewer.