Changeset 79 in dev for BasicCompiler_Common/calculation.cpp
- Timestamp:
- Mar 25, 2007, 5:58:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/calculation.cpp
r78 r79 483 483 type[pnum]=DEF_LONG; 484 484 485 LONG_PTR lpIndex; 486 i3=GetTypeFixed(temp2,&lpIndex); 487 if(i3==-1){ 488 extern int cp; 485 Type tempType; 486 if( !Type::StringToType( temp2, tempType ) ){ 489 487 if(enableerror) SetError(3,temp2,cp); 490 488 return false; 491 489 } 492 i64nums[pnum] =GetTypeSize(i3,lpIndex);490 i64nums[pnum] = tempType.GetSize(); 493 491 StrPtr[pnum]=0; 494 492 } … … 688 686 ////////////// 689 687 690 type[pnum]=GetTypeFixed(Parms,&before_index[pnum]); 691 692 if(type[pnum]==-1){ 693 if(bDebuggingWatchList){ 694 if( pIsMemoryAccessError ) *pIsMemoryAccessError = true; 688 { 689 Type tempType; 690 if( !Type::StringToType( Parms, tempType ) ){ 691 if(bDebuggingWatchList){ 692 if( pIsMemoryAccessError ) *pIsMemoryAccessError = true; 693 return false; 694 } 695 //エラー 696 if(enableerror) SetError(3,Parms,cp); 695 697 return false; 696 698 } 697 //エラー 698 if(enableerror) SetError(3,Parms,cp);699 return false;699 700 type[pnum] = tempType.GetBasicType(); 701 before_index[pnum] = tempType.GetIndex(); 700 702 } 703 701 704 JumpConst:; 702 705 }
Note:
See TracChangeset
for help on using the changeset viewer.