Changeset 828 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Type.cpp
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Type.cpp
r750 r828 1 1 #include "stdafx.h" 2 #include <jenga/include/jenga.h> 3 #include <abdev/ab_common/include/ab_common.h> 4 #include "Lexical/Type.h" 2 5 3 6 const int Type::basicTypeList[] = { … … 539 542 540 543 int Type::GetBasicTypeFromSimpleName( const char *variable ){ 541 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 542 548 int i; 543 549 char name[VN_SIZE]; 544 550 545 551 //構造体メンバの場合を考慮 546 for(i=l strlen(variable);i>0;i--){552 for(i=length;i>0;i--){ 547 553 if(variable[i]=='.'){ 548 554 i++;
Note:
See TracChangeset
for help on using the changeset viewer.