Changeset 96 in dev for BasicCompiler_Common/TypeDef.cpp


Ignore:
Timestamp:
Apr 15, 2007, 2:48:08 AM (17 years ago)
Author:
dai_9181
Message:

不要なソースコード(TODO: 消す)を削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/TypeDef.cpp

    r88 r96  
    2222    TypeDef typeDef( newName, baseName );
    2323    this->push_back( typeDef );
    24 
    25 
    26     /*
    27     TODO: 消す1
    28     ////////////////////////
    29     // 循環参照をチェック
    30     ////////////////////////
    31 
    32     int i;
    33     string tempName = newName;
    34 
    35     while(1){
    36         i=GetIndex( tempName );
    37         if(i==-1) break;
    38 
    39         if( (*this)[i].baseName == newName ){
    40             //循環エラー
    41             extern int cp;
    42             SetError(124,NULL,cp);
    43 
    44             //不明な型として、Long型を指定しておく
    45             (*this)[i].baseName = "Long";
    46 
    47             break;
    48         }
    49 
    50         tempName = (*this)[i].baseName;
    51     }*/
    5224}
    5325int TypeDefCollection::GetIndex( const string &typeName ) const{
Note: See TracChangeset for help on using the changeset viewer.