Ignore:
Timestamp:
May 5, 2008, 9:41:23 AM (16 years ago)
Author:
dai_9181
Message:

エラーコード138をLexicalAnalyzer_Class.cppで表示するようにした。

File:
1 edited

Legend:

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

    r540 r557  
    185185}
    186186
    187 bool CClass::Implements( const CClass &interfaceClass, const Types &actualTypeParameters, int nowLine )
    188 {
    189     if( !interfaceClass.IsInterface() && !interfaceClass.IsComInterface() )
    190     {
    191         // インターフェイスではないとき
    192         compiler.errorMessenger.Output(138,interfaceClass.GetName().c_str(),nowLine );
    193         return false;
    194     }
    195 
     187void CClass::Implements( const CClass &interfaceClass, const Types &actualTypeParameters, int nowLine )
     188{
    196189    ::Interface *pDestInterface = new ::Interface( &interfaceClass, actualTypeParameters );
    197190
     
    257250        );
    258251    }
    259 
    260 
    261     return true;
    262252}
    263253
Note: See TracChangeset for help on using the changeset viewer.