Changeset 821 in dev for branches/egtra/ab5.0/abdev/ab_common/src
- Timestamp:
- Aug 7, 2011, 11:13:15 PM (13 years ago)
- Location:
- branches/egtra/ab5.0/abdev/ab_common/src/Lexical
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.