Ignore:
Timestamp:
May 7, 2008, 12:17:40 PM (17 years ago)
Author:
dai_9181
Message:

EnumGlobalProcsメソッドの第二パラメータを "const char *" から "const Symbol &" に変更した。

Location:
trunk/ab5.0/abdev/BasicCompiler_Common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/hash.cpp

    r566 r576  
    116116
    117117    // グローバル関数を検索
    118     compiler.GetObjectModule().meta.GetUserProcs().EnumGlobalProcs( NestMember, name, subs );
     118    compiler.GetObjectModule().meta.GetUserProcs().EnumGlobalProcs( NestMember, LexicalAnalyzer::FullNameToSymbol( name ), subs );
    119119}
    120120
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h

    r575 r576  
    414414    }
    415415
    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 );
    417417};
    418418
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp

    r575 r576  
    9999
    100100
    101 void UserProcs::EnumGlobalProcs( const char *simpleName, const char *localName, std::vector<const UserProc *> &subs )
     101void UserProcs::EnumGlobalProcs( const char *simpleName, const Symbol &localSymbol, std::vector<const UserProc *> &subs )
    102102{
    103103    ///////////////////////////
     
    109109    while(pUserProc){
    110110        if( pUserProc->IsGlobalProcedure() ){
    111             if( pUserProc->IsEqualSymbol( LexicalAnalyzer::FullNameToSymbol( localName ) ) ){
     111            if( pUserProc->IsEqualSymbol( localSymbol ) ){
    112112                subs.push_back( pUserProc );
    113113            }
Note: See TracChangeset for help on using the changeset viewer.