Changeset 580 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- May 8, 2008, 3:36:08 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Variable.h
r570 r580 52 52 53 53 public: 54 Variable( const std::string &name, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData );54 Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ); 55 55 Variable( const NamespaceScopes &namespaceScopes, const std::string &name, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ); 56 56 Variable( const Variable &var ); -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Variable.cpp
r570 r580 4 4 #include <Variable.h> 5 5 6 Variable::Variable( const std::string &name, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData )7 : Symbol( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( name ))6 Variable::Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ) 7 : Symbol( symbol ) 8 8 , type( type ) 9 9 , isConst( isConst )
Note:
See TracChangeset
for help on using the changeset viewer.