Changeset 508 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- Apr 29, 2008, 11:36:37 AM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Compiler.h
r507 r508 51 51 : isBuildSuccessful( false ) 52 52 , pObjectModule( new ObjectModule ) 53 , pNowObjectModule( pObjectModule )54 53 , targetModuleType( Exe ) 55 54 , isDebug( false ) … … 57 56 , isCore( false ) 58 57 { 58 SelectObjectModule( *pObjectModule ); 59 59 Symbol::RegistNamespaceSupporter( &namespaceSupporter ); 60 60 } -
trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h
r506 r508 8 8 public: 9 9 static bool CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection ); 10 static Symbol FullNameToSymbol( const char *fullName ); 11 static Symbol FullNameToSymbol( const std::string &fullName ); 10 12 }; 11 13 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Symbol.h
r505 r508 47 47 { 48 48 } 49 Symbol( const char *fullName );50 Symbol( const string &fullName );51 49 Symbol( const Symbol &symbol ) 52 50 : namespaceScopes( symbol.namespaceScopes ) -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Variable.h
r392 r508 59 59 public: 60 60 Variable( const string &name, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ) 61 : Symbol( name)61 : Symbol( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( name ) ) 62 62 , type( type ) 63 63 , isConst( isConst )
Note:
See TracChangeset
for help on using the changeset viewer.