Changeset 821 in dev
- Timestamp:
- Aug 7, 2011, 11:13:15 PM (13 years ago)
- Location:
- branches/egtra/ab5.0/abdev
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/StrOperation.cpp
r820 r821 1 1 #include "stdafx.h" 2 #include <abdev/ab_common/include/ab_common.h> 3 #include "StrOperation.h" 4 #include "common.h" 2 5 3 6 void KillSpaces(char const *str1,char *str2){ -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/StrOperation.h
r603 r821 1 #pragma once 1 2 2 3 enum ReferenceKind -
branches/egtra/ab5.0/abdev/ab-test/Type.cpp
r820 r821 22 22 Type::StringToBasicType("Long", basicType); 23 23 BOOST_CHECK_EQUAL(basicType, DEF_LONG); 24 25 BOOST_CHECK_EQUAL(Type::GetBasicTypeFromSimpleName("a%"), DEF_INTEGER); 24 26 } -
branches/egtra/ab5.0/abdev/ab-test/ab-test.cpp
r818 r821 94 94 ::GetModuleFileName(nullptr, moduleName, MAX_PATH); 95 95 96 auto systemDir = fs::path(moduleName).parent_path().parent_path() / L"build/release/system";96 auto systemDir = fs::path(moduleName).parent_path().parent_path().parent_path() / L"build/release/system"; 97 97 98 98 UniqueHModule hmodRes(::LoadLibraryExW((systemDir / name).wstring().c_str(), nullptr, LOAD_LIBRARY_AS_DATAFILE)); -
branches/egtra/ab5.0/abdev/ab-test/stdafx.h
r818 r821 4 4 5 5 #define BOOST_FILESYSTEM_VERSION 3 6 #define BOOST_FILESYSTEM_NO_DEPRECATED7 6 8 7 #include <memory> -
branches/egtra/ab5.0/abdev/ab_common/ab_common.vcxproj
r820 r821 177 177 </ClCompile> 178 178 <ClCompile Include="src\Lexical\Source.cpp" /> 179 <ClCompile Include="src\Lexical\TypeDef.cpp" />180 179 <ClCompile Include="src\Lexical\Variable.cpp" /> 181 180 <ClCompile Include="src\ResourceManager\ResourceManager.cpp" /> -
branches/egtra/ab5.0/abdev/ab_common/ab_common.vcxproj.filters
r820 r821 53 53 </ClCompile> 54 54 <ClCompile Include="src\Lexical\Source.cpp"> 55 <Filter>Source Files\Lexical</Filter>56 </ClCompile>57 <ClCompile Include="src\Lexical\TypeDef.cpp">58 55 <Filter>Source Files\Lexical</Filter> 59 56 </ClCompile> -
branches/egtra/ab5.0/abdev/ab_common/include/BasicFixed.h
r601 r821 129 129 130 130 //オブジェクト指向エスケープシーケンス 131 #define ESC_CLASS (char)0xA0132 #define ESC_ENDCLASS (char)0xA1133 #define ESC_ABSTRACT (char)0xA2134 #define ESC_VIRTUAL (char)0xA3135 #define ESC_OVERRIDE (char)0xA4136 #define ESC_INHERITS (char)0xA5137 #define ESC_ENUM (char)0xA6138 #define ESC_ENDENUM (char)0xA7139 #define ESC_NEW (char)0xA8140 #define ESC_INTERFACE (char)0xA9141 #define ESC_ENDINTERFACE (char)0xAA142 #define ESC_DELEGATE (char)0xAB143 #define ESC_IMPLEMENTS (char)0xAC144 #define ESC_SYSTEM_STATIC_NEW (char)0xAD131 #define ESC_CLASS '\xA0' 132 #define ESC_ENDCLASS '\xA1' 133 #define ESC_ABSTRACT '\xA2' 134 #define ESC_VIRTUAL '\xA3' 135 #define ESC_OVERRIDE '\xA4' 136 #define ESC_INHERITS '\xA5' 137 #define ESC_ENUM '\xA6' 138 #define ESC_ENDENUM '\xA7' 139 #define ESC_NEW '\xA8' 140 #define ESC_INTERFACE '\xA9' 141 #define ESC_ENDINTERFACE '\xAA' 142 #define ESC_DELEGATE '\xAB' 143 #define ESC_IMPLEMENTS '\xAC' 144 #define ESC_SYSTEM_STATIC_NEW '\xAD' -
branches/egtra/ab5.0/abdev/ab_common/include/Lexical/Symbol.h
r810 r821 38 38 39 39 public: 40 Symbol( const NamespaceScopes &namespaceScopes, const std::string &name)41 : namespaceScopes( namespaceScopes)42 , name( name)40 Symbol(NamespaceScopes namespaceScopes, std::string name) 41 : namespaceScopes(std::move(namespaceScopes)) 42 , name(std::move(name)) 43 43 { 44 44 } 45 Symbol( const Symbol &symbol)46 : namespaceScopes( symbol.namespaceScopes)47 , name( symbol.name)45 Symbol(const Symbol &symbol) 46 : namespaceScopes(symbol.namespaceScopes) 47 , name(symbol.name) 48 48 { 49 49 } -
branches/egtra/ab5.0/abdev/ab_common/include/libs.h
r756 r821 11 11 #define lstrcmpiA _stricmp 12 12 13 #if 0 13 14 extern "C" 14 15 { … … 23 24 #define malloc dlmalloc 24 25 #define realloc dlrealloc 26 #endif -
branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Type.cpp
r820 r821 542 542 543 543 int Type::GetBasicTypeFromSimpleName( const char *variable ){ 544 extern char DefIntVari[26],DefSngVari[26],DefStrVari[26],divNum,dsvNum,dStrvNum; 544 assert(variable != nullptr); 545 auto length = std::strlen(variable); 546 assert(length > 0); 547 545 548 int i; 546 549 char name[VN_SIZE]; 547 550 548 551 //構造体メンバの場合を考慮 549 for(i=l strlen(variable);i>0;i--){552 for(i=length;i>0;i--){ 550 553 if(variable[i]=='.'){ 551 554 i++; -
branches/egtra/ab5.0/abdev/ab_common/src/Lexical/TypeDef.cpp
r750 r821 1 1 #include "stdafx.h" 2 #include <jenga/include/jenga.h> 3 #include <abdev/ab_common/include/ab_common.h> 2 4 3 5 TypeDef::TypeDef( const Symbol &symbol, const std::string &baseName, const Type &baseType ) -
branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj
r820 r821 136 136 <ClCompile Include="..\ab_common\src\Lexical\Template.cpp" /> 137 137 <ClCompile Include="..\ab_common\src\Lexical\Type.cpp" /> 138 <ClCompile Include="..\ab_common\src\Lexical\TypeDef.cpp" /> 138 139 <ClCompile Include="..\BasicCompiler_Common\src\LexicalAnalyzer_TypeDef.cpp" /> 140 <ClCompile Include="..\BasicCompiler_Common\StrOperation.cpp" /> 139 141 <ClCompile Include="stdafx.cpp"> 140 142 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> -
branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj.filters
r820 r821 72 72 <Filter>ab-common\Lexical</Filter> 73 73 </ClCompile> 74 <ClCompile Include="..\BasicCompiler_Common\StrOperation.cpp"> 75 <Filter>Source Files</Filter> 76 </ClCompile> 77 <ClCompile Include="..\ab_common\src\Lexical\TypeDef.cpp"> 78 <Filter>ab-common\Lexical</Filter> 79 </ClCompile> 74 80 </ItemGroup> 75 81 </Project> -
branches/egtra/ab5.0/abdev/compiler.vcxproj
r812 r821 315 315 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> 316 316 </ClCompile> 317 <ClCompile Include="BasicCompiler_Common\StrOperation.cpp">318 <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>319 <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>320 <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>321 <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>322 </ClCompile>323 317 <ClCompile Include="BasicCompiler_Common\CommandFormat.cpp"> 324 318 <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> -
branches/egtra/ab5.0/abdev/compiler.vcxproj.filters
r812 r821 152 152 </ClCompile> 153 153 <ClCompile Include="BasicCompiler_Common\RSrcSection.cpp"> 154 <Filter>Source Files\32及び64共通</Filter>155 </ClCompile>156 <ClCompile Include="BasicCompiler_Common\StrOperation.cpp">157 154 <Filter>Source Files\32及び64共通</Filter> 158 155 </ClCompile>
Note:
See TracChangeset
for help on using the changeset viewer.