Changeset 18 in dev for BasicCompiler32/Compile_ProcOp.cpp


Ignore:
Timestamp:
Dec 24, 2006, 4:46:12 AM (17 years ago)
Author:
dai_9181
Message:

オブジェクト定数に対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/Compile_ProcOp.cpp

    r17 r18  
    335335    //コンパイル中の関数が属するクラス
    336336    pobj_CompilingClass=psi->pobj_ParentClass;
     337
     338    //コンパイルスタートをクラス管理クラスに追加
     339    pobj_DBClass->StartCompile( psi );
    337340
    338341    //コンパイル中の関数
     
    569572            }
    570573        }
     574        else if(psi->name[0]=='~'){
     575            //デストラクタをコンパイルしたとき
     576
     577            //デストラクタのコンパイル開始を通知
     578            pobj_CompilingClass->NotifyStartDestructorCompile();
     579        }
    571580    }
    572581
     
    584593        if( pobj_CompilingClass->IsCompilingConstructor() ){
    585594            // コンストラクタをコンパイルしていたとき
     595
    586596            // コンストラクタのコンパイルが完了したことを通知
    587 
    588597            pobj_CompilingClass->NotifyFinishConstructorCompile();
    589598        }
    590 
    591         if(psi->name[0]=='~'){
     599        else if(psi->name[0]=='~'){
    592600            ////////////////////////////////////
    593601            //デストラクタをコンパイルしたとき
    594602            ////////////////////////////////////
     603
     604            // デストラクタのコンパイルが完了したことを通知
     605            pobj_CompilingClass->NotifyFinishDestructorCompile();
    595606
    596607            if(pobj_CompilingClass->pobj_InheritsClass){
Note: See TracChangeset for help on using the changeset viewer.