- Timestamp:
- May 7, 2008, 12:17:40 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/hash.cpp
r566 r576 116 116 117 117 // グローバル関数を検索 118 compiler.GetObjectModule().meta.GetUserProcs().EnumGlobalProcs( NestMember, name, subs );118 compiler.GetObjectModule().meta.GetUserProcs().EnumGlobalProcs( NestMember, LexicalAnalyzer::FullNameToSymbol( name ), subs ); 119 119 } 120 120 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h
r575 r576 414 414 } 415 415 416 void EnumGlobalProcs( const char *simpleName, const char *localName, std::vector<const UserProc *> &subs );416 void EnumGlobalProcs( const char *simpleName, const Symbol &localSymbol, std::vector<const UserProc *> &subs ); 417 417 }; 418 418 -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp
r575 r576 99 99 100 100 101 void UserProcs::EnumGlobalProcs( const char *simpleName, const char *localName, std::vector<const UserProc *> &subs )101 void UserProcs::EnumGlobalProcs( const char *simpleName, const Symbol &localSymbol, std::vector<const UserProc *> &subs ) 102 102 { 103 103 /////////////////////////// … … 109 109 while(pUserProc){ 110 110 if( pUserProc->IsGlobalProcedure() ){ 111 if( pUserProc->IsEqualSymbol( LexicalAnalyzer::FullNameToSymbol( localName )) ){111 if( pUserProc->IsEqualSymbol( localSymbol ) ){ 112 112 subs.push_back( pUserProc ); 113 113 }
Note:
See TracChangeset
for help on using the changeset viewer.