Changeset 821 in dev for branches/egtra/ab5.0/abdev/ab_common
- Timestamp:
- Aug 7, 2011, 11:13:15 PM (13 years ago)
- Location:
- branches/egtra/ab5.0/abdev/ab_common
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
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 )
Note:
See TracChangeset
for help on using the changeset viewer.