Changes in uspace/app/sbi/src/rdata.c [38aaacc2:074444f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/rdata.c
r38aaacc2 r074444f 529 529 static void rdata_deleg_copy(rdata_deleg_t *src, rdata_deleg_t **dest) 530 530 { 531 *dest = rdata_deleg_new();532 (*dest)->obj = src->obj;533 (*dest)->sym = src->sym;531 (void) src; (void) dest; 532 printf("Unimplemented: Copy delegate.\n"); 533 exit(1); 534 534 } 535 535 … … 711 711 break; 712 712 case vc_ref: 713 if (var->u.ref_v->vref != NULL) { 714 printf("ref("); 715 rdata_var_print(var->u.ref_v->vref); 716 printf(")"); 717 } else { 718 printf("nil"); 719 } 713 printf("ref("); 714 rdata_var_print(var->u.ref_v->vref); 715 printf(")"); 720 716 break; 721 717 case vc_deleg: 722 718 printf("deleg("); 723 if (var->u.deleg_v->sym != NULL) { 724 if (var->u.deleg_v->obj != NULL) { 725 rdata_var_print(var->u.deleg_v->obj); 726 printf(","); 727 } 728 symbol_print_fqn(var->u.deleg_v->sym); 729 } else { 730 printf("nil"); 719 if (var->u.deleg_v->obj != NULL) { 720 rdata_var_print(var->u.deleg_v->obj); 721 printf(","); 731 722 } 723 symbol_print_fqn(var->u.deleg_v->sym); 732 724 printf(")"); 733 725 break;
Note:
See TracChangeset
for help on using the changeset viewer.