Changeset 369 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Nov 12, 2007, 8:40:20 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r355 r369 560 560 561 561 virtual CClass *Create( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name); 562 bool Insert( CClass *pClass );562 bool Insert( CClass *pClass, int nowLine ); 563 563 CClass *Add( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name,int nowLine); 564 564 virtual void CollectClassesForNameOnly( const BasicSource &source ); -
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r355 r369 1085 1085 return new CClass(namespaceScopes, importedNamespaces, name); 1086 1086 } 1087 bool Classes::Insert( CClass *pClass )1087 bool Classes::Insert( CClass *pClass, int nowLine ) 1088 1088 { 1089 1089 ///////////////////////////////// … … 1093 1093 if( !Put( pClass ) ) 1094 1094 { 1095 SetError(15,pClass->GetName(), cp);1095 SetError(15,pClass->GetName(), nowLine); 1096 1096 return false; 1097 1097 } … … 1106 1106 CClass *pClass = Create(namespaceScopes, importedNamespaces, name); 1107 1107 1108 if( !Insert( pClass ) )1108 if( !Insert( pClass, nowLine ) ) 1109 1109 { 1110 1110 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.