Changeset 67 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- Mar 11, 2007, 3:25:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r64 r67 359 359 360 360 361 // Nothing 362 if( lstrcmp( term, "Nothing" ) == 0 ){ 363 type[sp] = DEF_OBJECT; 364 if( BaseType == DEF_OBJECT ){ 365 index_stack[sp] = lpBaseIndex; 366 } 367 else{ 368 index_stack[sp] = (LONG_PTR)pobj_DBClass->GetObjectClass(); 369 } 370 371 bLiteralCalculation = 0; 372 373 //push 0 374 op_push_V( 0 ); 375 376 sp++; 377 break; 378 } 379 380 361 381 362 382 RELATIVE_VAR RelativeVar; … … 521 541 522 542 //push HILONG(dbl) 523 op_push_ value((long)*(long *)(((char *)(&i64data))+4));543 op_push_V((long)*(long *)(((char *)(&i64data))+4)); 524 544 525 545 //push LOLONG(dbl) 526 op_push_ value(*(long *)(&i64data));546 op_push_V(*(long *)(&i64data)); 527 547 } 528 548 else if(type[sp]==DEF_SINGLE){ … … 535 555 536 556 //push term 537 op_push_ value(i3);557 op_push_V(i3); 538 558 } 539 559 else{ … … 541 561 542 562 //push term 543 op_push_ value((long)i64data);563 op_push_V((long)i64data); 544 564 545 565 if((long)i64data==0) index_stack[sp]=LITERAL_NULL; … … 693 713 694 714 //push HILONG(i64data) 695 op_push_ value((long)*(long *)(((char *)(&i64data))+4));715 op_push_V((long)*(long *)(((char *)(&i64data))+4)); 696 716 697 717 //push LOLONG(i64data) 698 op_push_ value(*(long *)(&i64data));718 op_push_V(*(long *)(&i64data)); 699 719 } 700 720 else if(i2==DEF_SINGLE){ … … 708 728 709 729 //push flt 710 op_push_ value(i3);730 op_push_V(i3); 711 731 } 712 732 else{ … … 719 739 720 740 //push term 721 op_push_ value(i3);741 op_push_V(i3); 722 742 } 723 743
Note:
See TracChangeset
for help on using the changeset viewer.