Changeset 308 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Aug 29, 2007, 9:05:22 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Compiler.h
r299 r308 11 11 class Compiler 12 12 { 13 // モジュール名 14 std::string moduleName; 15 13 16 // 名前空間サポート 14 17 NamespaceSupporter namespaceSupporter; … … 43 46 void StaticLink( ObjectModules &staticLibraries ); 44 47 48 // モジュール名 49 void SetModuleName( const std::string &moduleName ) 50 { 51 this->moduleName = moduleName; 52 } 53 const std::string &GetModuleName() const 54 { 55 return moduleName; 56 } 57 58 // 名前空間サポート 45 59 NamespaceSupporter &GetNamespaceSupporter() 46 60 { … … 122 136 } 123 137 138 // グローバルエリアが置かれる関数名 139 std::string globalAreaProcName; 140 124 141 125 142 bool StringToType( const std::string &typeName, Type &type ); -
trunk/abdev/BasicCompiler_Common/include/Source.h
r304 r308 50 50 int GetFileCounts() const 51 51 { 52 return filePaths.size();52 return (int)filePaths.size(); 53 53 } 54 54 … … 56 56 { 57 57 filePaths.push_back( filePath ); 58 return filePaths.size()-1;58 return (int)filePaths.size()-1; 59 59 } 60 60 void AddLine( int fileNumber ) … … 65 65 int GetLineCounts() const 66 66 { 67 return lineFileNumbers.size();67 return (int)lineFileNumbers.size(); 68 68 } 69 69 };
Note:
See TracChangeset
for help on using the changeset viewer.