Changeset 557 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- May 5, 2008, 9:41:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
r540 r557 185 185 } 186 186 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 187 void CClass::Implements( const CClass &interfaceClass, const Types &actualTypeParameters, int nowLine ) 188 { 196 189 ::Interface *pDestInterface = new ::Interface( &interfaceClass, actualTypeParameters ); 197 190 … … 257 250 ); 258 251 } 259 260 261 return true;262 252 } 263 253
Note:
See TracChangeset
for help on using the changeset viewer.