Changeset 78 for trunk/orca
- Timestamp:
- 03/08/06 16:06:15 (3 years ago)
- Location:
- trunk/orca
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/print.c
r70 r78 1125 1125 OString* str = orMakeString( 0 ); 1126 1126 orForm( str, a1 ); 1127 orResultSTRING( str - orSTRINGS);1127 orResultSTRING( orStringN(str) ); 1128 1128 } 1129 1129 … … 1136 1136 OString* str = orMakeString( 0 ); 1137 1137 orMold( str, a1 ); 1138 orResultSTRING( str - orSTRINGS);1138 orResultSTRING( orStringN(str) ); 1139 1139 } 1140 1140 -
trunk/orca/series.c
r54 r78 417 417 OValue* a2 = a1 + 1; 418 418 419 switch( a1->type)419 switch( orType(a1) ) 420 420 { 421 421 case OT_BLOCK: 422 422 case OT_PAREN: 423 423 case OT_PATH: 424 if( ( a2->type!= OT_BLOCK) || orRefineSet(REF_INS_ONLY) )424 if( (orType(a2) != OT_BLOCK) || orRefineSet(REF_INS_ONLY) ) 425 425 { 426 426 OValue* ipos; … … 473 473 case OT_BINARY: 474 474 { 475 if( orIsBlock( a2->type) )475 if( orIsBlock( orType(a2) ) ) 476 476 { 477 477 OBlock* blk = orBLOCK(a2); … … 504 504 } 505 505 } 506 else if( orIsString( a2->type) )506 else if( orIsString( orType(a2) ) ) 507 507 { 508 508 OString* s2 = orSTRING(a2); … … 510 510 s2->used - a2->series.it ); 511 511 } 512 else if( a2->type == OT_CHAR)512 else if( orIs(a2, OT_CHAR) ) 513 513 { 514 514 char tmp = orInt(a2); 515 515 stringInsert( a1, &tmp, 1 ); 516 } 517 else if( orIs(a1, OT_STRING) ) 518 { 519 // Result is string so mold whatever we haven't handled. 520 orMold( orSTRING(a1), a2 ); 516 521 } 517 522 else
