Changeset b8fdd5 in git
- Timestamp:
- May 18, 1998, 7:23:00 PM (25 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 3d7392fc05befdecec7c04733944a76bbb7ce22e
- Parents:
- bc4886a03f2f4ce055ba9526441a43fae4fe27cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
rbc4886 rb8fdd5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipassign.cc,v 1.2 8 1998-04-28 17:57:52Singular Exp $ */4 /* $Id: ipassign.cc,v 1.29 1998-05-18 17:23:00 Singular Exp $ */ 5 5 6 6 /* … … 474 474 static BOOLEAN jiA_RING(leftv res, leftv a, Subexpr e) 475 475 { 476 BOOLEAN have_id=TRUE; 476 477 if ((e!=NULL)||(res->rtyp!=IDHDL)) 477 478 { 478 WerrorS("id expected"); 479 return TRUE; 479 //WerrorS("id expected"); 480 //return TRUE; 481 have_id=FALSE; 480 482 } 481 483 ring r=(ring)a->Data(); 482 idhdl rl=(idhdl)res->data; 483 if (&IDRING(rl)!=NULL) rKill(rl); 484 if (have_id) 485 { 486 idhdl rl=(idhdl)res->data; 487 if (&IDRING(rl)!=NULL) rKill(rl); 488 IDRING(rl)=r; 489 if ((IDLEV((idhdl)a->data)!=myynest) && (r==currRing)) 490 currRingHdl=(idhdl)res->data; 491 } 492 else 493 { 494 if (e==NULL) res->data=(char *)r; 495 else 496 { 497 WerrorS("id expected"); 498 return TRUE; 499 } 500 } 484 501 r->ref++; 485 IDRING(rl)=r;486 if ((IDLEV((idhdl)a->data)!=myynest) && (r==currRing))487 currRingHdl=(idhdl)res->data;488 502 return FALSE; 489 503 }
Note: See TracChangeset
for help on using the changeset viewer.