Changeset 41 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- Jan 28, 2007, 5:28:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r40 r41 667 667 break; 668 668 669 case CALC_BYVAL: 670 //ポインタ型→参照型 671 if( PTR_LEVEL( type[sp-1] ) <= 0 ){ 672 //ポインタ型ではないとき 673 SetError( 3, NULL, cp ); 674 goto error; 675 } 676 677 type[sp-1] = PTR_LEVEL_DOWN( type[sp-1] ); 678 679 break; 680 669 681 default: 670 682 SetError(300,NULL,cp); 671 break;683 goto error; 672 684 } 673 685 }
Note:
See TracChangeset
for help on using the changeset viewer.