Changeset 334 in dev for trunk/abdev/BasicCompiler_Common/VariableOpe.cpp
- Timestamp:
- Sep 28, 2007, 12:05:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VariableOpe.cpp
r308 r334 491 491 } 492 492 493 if(array[0]){ 494 //配列オフセット 495 if( pMember->GetSubscripts().size() <= 0 ) 496 { 497 // 配列ではないメンバに配列指定をした 498 return false; 499 } 500 } 501 else if( pMember->GetSubscripts().size() > 0 ){ 502 resultType.SetBasicType( resultType.GetBasicType() | FLAG_PTR ); 503 } 504 493 505 if( refType != RefNon ){ 494 506 //入れ子構造の場合 … … 499 511 0, 500 512 isErrorEnabled); 501 }502 503 if( array[0] == 0 && pMember->GetSubscripts().size() > 0 ){504 resultType.SetBasicType( resultType.GetBasicType() | FLAG_PTR );505 return true;506 513 } 507 514
Note:
See TracChangeset
for help on using the changeset viewer.