| 835 | } |
| 836 | |
| 837 | void newstructShow(newstruct_desc d) |
| 838 | { |
| 839 | newstruct_member elem; |
| 840 | Print("id: %d\n",d->id); |
| 841 | elem=d->member; |
| 842 | while (elem!=NULL) |
| 843 | { |
| 844 | Print(">>%s<< at pos %d, type %d (%s)\n",elem->name,elem->pos,elem->typ,Tok2Cmdname(elem->typ)); |
| 845 | if (NeedShadowRing(elem->typ)) |
| 846 | Print(">>r_%s<< at pos %d, shadow ring\n",elem->name,elem->pos-1); |
| 847 | elem=elem->next; |
| 848 | } |
| 849 | newstruct_proc p=d->procs; |
| 850 | while (p!=NULL) |
| 851 | { |
| 852 | Print("op:%d(%s) with %d args -> %s\n",p->t,iiTwoOps(p->t),p->args,p->p->procname); |
| 853 | p=p->next; |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | BOOLEAN newstruct_set_proc(const char *bbname,const char *func, int args,procinfov pr) |
| 858 | { |
no test coverage detected