Changeset 537 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h
- Timestamp:
- May 3, 2008, 6:58:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h
r524 r537 371 371 372 372 373 374 /////////////////////////////////////////////////////////////////375 // コンパイル中の関数を管理376 /////////////////////////////////////////////////////////////////377 private:378 static const UserProc *pCompilingUserProc;379 public:380 373 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 }396 374 }; 397 375
Note:
See TracChangeset
for help on using the changeset viewer.