Changeset 131 in dev for BasicCompiler32
- Timestamp:
- Jun 4, 2007, 7:49:17 AM (17 years ago)
- Location:
- BasicCompiler32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/BasicCompiler.vcproj
r124 r131 1949 1949 <File 1950 1950 RelativePath="..\BasicCompiler_Common\Procedure.h" 1951 > 1952 </File> 1953 <File 1954 RelativePath="..\BasicCompiler_Common\include\Prototype.h" 1951 1955 > 1952 1956 </File> -
BasicCompiler32/Compile_Object.cpp
r123 r131 36 36 37 37 std::vector<UserProc *> subs; 38 pobj_c->EnumMethod( pobj_c-> name, subs );38 pobj_c->EnumMethod( pobj_c->GetName().c_str(), subs ); 39 39 40 40 UserProc *pUserProc; 41 41 if( subs.size() > 0 ){ 42 42 //オーバーロードを解決 43 pUserProc=OverloadSolutionWithStrParam(pobj_c-> name,43 pUserProc=OverloadSolutionWithStrParam(pobj_c->GetName().c_str(), 44 44 subs,CreateParameter,""); 45 45 … … 59 59 if( subs.size() == 1 ){ 60 60 char temporary[VN_SIZE]; 61 sprintf( temporary, "_System_TypeBase.Search(\"\",\"%s\"))", pobj_c-> name);61 sprintf( temporary, "_System_TypeBase.Search(\"\",\"%s\"))", pobj_c->GetName().c_str() ); 62 62 63 63 Opcode_CallProc(temporary, … … 101 101 if(classObj.IsAbstract()){ 102 102 //抽象クラスだったとき 103 SetError(125,classObj. name,cp);103 SetError(125,classObj.GetName(),cp); 104 104 } 105 105 -
BasicCompiler32/Compile_ProcOp.cpp
r129 r131 215 215 if( userProc.GetName() == "InitializeUserTypes" 216 216 && userProc.HasParentClass() 217 && (string)userProc.GetParentClass().name== "_System_TypeBase" ){217 && userProc.GetParentClass().GetName() == "_System_TypeBase" ){ 218 218 219 219 pobj_DBClass->Compile_System_InitializeUserTypes(); … … 221 221 else if( userProc.GetName() == "RegisterGlobalRoots" 222 222 && userProc.HasParentClass() 223 && (string)userProc.GetParentClass().name== "_System_CGarbageCollection" ){223 && userProc.GetParentClass().GetName() == "_System_CGarbageCollection" ){ 224 224 225 225 Compile_AddGlobalRootsForGc(); … … 451 451 452 452 if(pobj_CompilingClass){ 453 if( pUserProc->GetName() == pobj_CompilingClass-> name){453 if( pUserProc->GetName() == pobj_CompilingClass->GetName() ){ 454 454 //////////////////////////////////// 455 455 // コンストラクタをコンパイルするとき … … 482 482 temporary[i4]=basbuf[i3]; 483 483 } 484 if(lstrcmp(temporary, 485 pobj_CompilingClass->pobj_InheritsClass->name)==0){ 484 if( pobj_CompilingClass->pobj_InheritsClass->GetName() == temporary ){ 486 485 //基底クラスのコンストラクタを呼び出す 487 486 cp=i3; -
BasicCompiler32/Compile_Var.cpp
r120 r131 534 534 //自身のクラスから静的メンバを参照する場合 535 535 char temp2[VN_SIZE]; 536 sprintf(temp2,"%s.%s",pobj_CompilingClass-> name,VarName);536 sprintf(temp2,"%s.%s",pobj_CompilingClass->GetName().c_str(),VarName); 537 537 pVar = globalVars.Find( temp2 ); 538 538 if( pVar ){
Note:
See TracChangeset
for help on using the changeset viewer.