Changeset 566fcb in git
- Timestamp:
- Aug 26, 1998, 7:09:10 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 9c9fb9d01c2c2a1581d22ee36200b77b2e7bd41c
- Parents:
- ef2c6ce296a744da8b0012dbcc25e421ffdb812f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/subexpr.cc
ref2c6c r566fcb 94 94 if ((store!=NULL)&&(store!=this)) 95 95 store->CleanUp(); 96 96 97 97 switch (t /*=Typ()*/) 98 98 { … … 128 128 case RESOLUTION_CMD: 129 129 syPrint((syStrategy)d); 130 break; 130 break; 131 131 case STRING_CMD: 132 132 ::Print("%-*.*s%s",spaces,spaces," ",(char *)d); … … 138 138 { 139 139 procinfov pi=(procinfov)d; 140 141 142 143 144 145 146 //::Print("%-*.*s// ref : %s",spaces,spaces," ",147 148 140 ::Print("%-*.*s// libname : %s\n",spaces,spaces," ", 141 piProcinfo(pi, "libname")); 142 ::Print("%-*.*s// procname : %s\n",spaces,spaces," ", 143 piProcinfo(pi, "procname")); 144 ::Print("%-*.*s// type : %s",spaces,spaces," ", 145 piProcinfo(pi, "type")); 146 // ::Print("%-*.*s// ref : %s",spaces,spaces," ", 147 // piProcinfo(pi, "ref")); 148 break; 149 149 } 150 150 case POINTER_CMD: … … 213 213 { 214 214 PrintLn(); 215 } 215 } 216 216 #ifdef SIQ 217 217 if (rtyp!=COMMAND) … … 279 279 break; 280 280 case PROC_CMD: 281 282 281 piKill((procinfov)data); 282 break; 283 283 case LINK_CMD: 284 284 slKill((si_link)data); … … 314 314 #ifdef HAVE_RTIMER 315 315 case VRTIMER: 316 #endif 316 #endif 317 317 case VOICE: 318 318 case VMAXDEG: … … 328 328 default: 329 329 ::Print("CleanUp: unknown type %d\n",rtyp); /* DEBUG */ 330 #endif 330 #endif 331 331 } /* end switch: (rtyp) */ 332 332 data=NULL; … … 350 350 #ifdef HAVE_RTIMER 351 351 case VRTIMER: 352 #endif 352 #endif 353 353 case VOICE: 354 354 case VMAXDEG: … … 516 516 r->ref++; 517 517 data=d; 518 } 518 } 519 519 else 520 520 { 521 521 WerrorS("invalid ring description"); 522 } 522 } 523 523 break; 524 524 } … … 582 582 if ((a!=NULL) && (*a!=NULL)) 583 583 return (*a)->Copy(); 584 return NULL; 584 return NULL; 585 585 } 586 586 … … 665 665 { 666 666 return rString((ring)d); 667 } 667 } 668 668 default: 669 669 #ifdef TEST … … 695 695 #ifdef HAVE_RTIMER 696 696 case VRTIMER: 697 #endif 697 #endif 698 698 case VOICE: 699 699 case VMAXDEG: … … 703 703 return INT_CMD; 704 704 case LIB_CMD: 705 return STRING_CMD; 705 return STRING_CMD; 706 706 case VMINPOLY: 707 707 return NUMBER_CMD; … … 824 824 if(h==NULL) return (void *)sNoName; 825 825 return IDSTRING(h); 826 } 826 } 827 827 case IDHDL: 828 828 return IDDATA((idhdl)data); … … 913 913 if (!errorreported) 914 914 Werror("wrong range[%d,%d] in intmat(%dx%d)",e->start,e->next->start, 915 915 MATROWS((matrix)d),MATCOLS((matrix)d)); 916 916 } 917 917 else … … 1171 1171 { 1172 1172 BOOLEAN ok=FALSE; 1173 poly p = ((currRingHdl!=NULL)&&(!noringvars)&&(IDLEV(currRingHdl)!=myynest)) 1174 /* ring required */ /* not in decl */ /* already in case 4/6 */ 1173 poly p = ((currRingHdl!=NULL)&&(!noringvars) 1174 /* ring required */ /* not in decl */ 1175 &&(IDLEV(currRingHdl)!=myynest)) 1176 /* already in case 4/6 */ 1175 1177 ? pmInit(id,ok) : (poly)NULL; 1176 1178 if (ok)
Note: See TracChangeset
for help on using the changeset viewer.