Changeset 56ffd98 in git
- Timestamp:
- Apr 3, 2019, 2:08:46 PM (4 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- f573055591b5819fc2d6a5795ca9b931a998ad1d
- Parents:
- 2473c953979c291dd9b3163a11c034a8f2518cba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipid.cc
r2473c9 r56ffd98 543 543 544 544 #if 0 545 // debug version 546 idhdl ggetid(const char *n) 547 { 548 if (currRing!=NULL) 549 { 550 idhdl h2 = currRing->idroot->get(n,myynest); 551 idhdl h = IDROOT->get(n,myynest); 552 if ((h!=NULL)&&(h2!=NULL)&&(IDLEV(h)==IDLEV(h2))) 553 { 554 Warn("SHADOW %s(%s) vs %s(%s) in %s\n",IDID(h),Tok2Cmdname(IDTYP(h)),IDID(h2),Tok2Cmdname(IDTYP(h2)),my_yylinebuf); 555 } 556 if ((h2!=NULL)&&(IDLEV(h2)==myynest)) return h2; 557 if (h!=NULL) return h; 558 if (h2!=NULL) return h2; 559 } 560 else 561 { 562 idhdl h = IDROOT->get(n,myynest); 563 if (h!=NULL) return h; 564 } 565 if (basePack!=currPack) 566 return basePack->idroot->get(n,myynest); 567 return NULL; 568 } 569 #endif 570 #if 1 571 // try currRing before non-ring stuff 545 572 idhdl ggetid(const char *n) 546 573 { … … 563 590 } 564 591 #endif 565 #if 1 592 #if 0 593 // try non-ring stuff before ring stuff 566 594 idhdl ggetid(const char *n) 567 595 {
Note: See TracChangeset
for help on using the changeset viewer.