Ignore:
Timestamp:
Jul 13, 2008, 2:23:09 AM (16 years ago)
Author:
dai_9181
Message:

・WithInfo周りをリファクタリング。

File:
1 edited

Legend:

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

    r649 r684  
    180180
    181181void GetWithName(char *buffer){
    182     extern WITHINFO WithInfo;
    183     int i;
    184 
     182    extern WithInfos withInfos;
    185183    buffer[0]=0;
    186     for(i=0;i<WithInfo.num;i++)
    187         lstrcat(buffer,WithInfo.ppName[i]);
     184    BOOST_FOREACH( const WithInfo &withInfo, withInfos )
     185    {
     186        lstrcat( buffer, withInfo.name.c_str() );
     187    }
    188188}
    189189
Note: See TracChangeset for help on using the changeset viewer.