Changeset 44 for trunk/orca/ovalue.c
- Timestamp:
- 02/12/06 15:46:49 (3 years ago)
- Files:
-
- 1 modified
-
trunk/orca/ovalue.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/ovalue.c
r42 r44 1488 1488 void orIfNative( OValue* a1 ) 1489 1489 { 1490 if( a1->type != OT_NONE ) 1491 { 1492 if( (a1->type != OT_LOGIC) || (a1->integer != 0) ) 1493 { 1494 OValue* a2 = a1 + 1; 1495 orEvalBlock( orBLOCK( a2 ), a2->series.it ); 1496 return; 1497 } 1490 if( orIfTrue(a1) ) 1491 { 1492 OValue* a2 = a1 + 1; 1493 orEvalBlock( orBLOCK( a2 ), a2->series.it ); 1494 return; 1498 1495 } 1499 1496 orResultNONE; … … 1503 1500 void orUnlessNative( OValue* a1 ) 1504 1501 { 1505 if( (a1->type == OT_NONE) || 1506 ((a1->type == OT_LOGIC) && (a1->integer == 0)) ) 1502 if( orIfFalse(a1) ) 1507 1503 { 1508 1504 OValue* a2 = a1 + 1;
