Ignore:
Timestamp:
May 3, 2008, 6:58:38 PM (18 years ago)
Author:
dai_9181
Message:

UserProcクラスによるコンパイル中関数管理用メソッドを除去(すべてCompilerクラス内で処理するようにした)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h

    r524 r537  
    371371
    372372
    373 
    374     /////////////////////////////////////////////////////////////////
    375     // コンパイル中の関数を管理
    376     /////////////////////////////////////////////////////////////////
    377 private:
    378     static const UserProc *pCompilingUserProc;
    379 public:
    380373    static const UserProc *pGlobalProc;
    381     static void CompileStartForGlobalArea(){
    382         pCompilingUserProc = NULL;
    383     }
    384     static void CompileStartForUserProc( const UserProc *pUserProc ){
    385         pCompilingUserProc = pUserProc;
    386     }
    387     static bool IsGlobalAreaCompiling(){
    388         return ( pCompilingUserProc == NULL );
    389     }
    390     static bool IsLocalAreaCompiling(){
    391         return ( pCompilingUserProc != NULL );
    392     }
    393     static const UserProc &CompilingUserProc(){
    394         return *pCompilingUserProc;
    395     }
    396374};
    397375
Note: See TracChangeset for help on using the changeset viewer.