Changeset e7463f in git
- Timestamp:
- Mar 17, 2011, 6:23:03 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- bb08d5b1bb68c30edc7e32f68fe823249cbc3c63
- Parents:
- 4199b35cfc53b9be00ef55a9d8750f9f784d4254
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/subexpr.cc
r4199b3 re7463f 145 145 case RESOLUTION_CMD: 146 146 { 147 syStrategy tmp=(syStrategy)d; 147 syStrategy tmp=(syStrategy)d; 148 148 syPrint(tmp); 149 149 break; … … 263 263 { 264 264 if ((store!=NULL) 265 && (store!=this) 266 && (t/*Typ()*/!=LINK_CMD) 267 && (t/*Typ()*/!=RING_CMD) 268 && (t/*Typ()*/!=QRING_CMD) 269 && (t/*Typ()*/!=POINTER_CMD) 270 && (t/*Typ()*/!=PACKAGE_CMD) 271 && (t/*Typ()*/!=PROC_CMD) 272 && (t/*Typ()*/!=DEF_CMD) 273 ) 274 { 275 store->rtyp=t/*Typ()*/; 276 store->data=CopyD(); 277 if(attribute!=NULL) 278 { 279 store->attribute=CopyA(); 280 } 281 store->flag=flag; 265 && (store!=this)) 266 { 267 if((t/*Typ()*/!=LINK_CMD) 268 && (t/*Typ()*/!=POINTER_CMD) 269 && (t/*Typ()*/!=PACKAGE_CMD) 270 && (t/*Typ()*/!=DEF_CMD) 271 ) 272 { 273 store->rtyp=t/*Typ()*/; 274 store->data=CopyD(); 275 if(attribute!=NULL) 276 { 277 store->attribute=CopyA(); 278 } 279 store->flag=flag; 280 } 282 281 } 283 282 } … … 403 402 ring r=(ring)d; 404 403 r->ref++; 404 //Print("+ ring %d, ref %d\n",r,r->ref); 405 405 return d; 406 406 } … … 500 500 ring R=(ring)d; 501 501 #ifdef TEST 502 if ( R==currRing)503 Print S("currRing?\n");502 if ((R==currRing)&&(R->ref<=0)) 503 Print("currRing? ref=%d\n",R->ref); 504 504 else 505 505 #endif
Note: See TracChangeset
for help on using the changeset viewer.