Changeset a78f216 in git for Singular/misc.cc
- Timestamp:
- Jan 7, 2002, 6:18:11 PM (22 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- 6f37433d1f48fb58800b93d35fec0b1808f3ffdd
- Parents:
- 998f98c30af1dfaf2927f6234ab05cd0eba46cc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/misc.cc
r998f98 ra78f216 683 683 684 684 #ifdef HAVE_NS 685 void listall( )685 void listall(int showproc) 686 686 { 687 687 idhdl hh=basePack->idroot; … … 689 689 while (hh!=NULL) 690 690 { 691 if (IDDATA(hh)==NULL) PrintS("(N)"); 692 else if (IDDATA(hh)==(void *)currRing) PrintS("(R)"); 693 else if (IDDATA(hh)==(void *)currPack) PrintS("(P)"); 694 else PrintS(" "); 695 Print("::%s, typ %s level %d", 696 IDID(hh),Tok2Cmdname(IDTYP(hh)),IDLEV(hh)); 697 if ((IDTYP(hh)==RING_CMD) 698 || (IDTYP(hh)==QRING_CMD)) 699 Print(" ref: %d\n",IDRING(hh)->ref); 700 else 701 PrintLn(); 691 if (showproc || (IDTYP(hh)!=PROC_CMD)) 692 { 693 if (IDDATA(hh)==(void *)currRing) PrintS("(R)"); 694 else if (IDDATA(hh)==(void *)currPack) PrintS("(P)"); 695 else PrintS(" "); 696 Print("::%s, typ %s level %d data %x", 697 IDID(hh),Tok2Cmdname(IDTYP(hh)),IDLEV(hh),IDDATA(hh)); 698 if ((IDTYP(hh)==RING_CMD) 699 || (IDTYP(hh)==QRING_CMD)) 700 Print(" ref: %d\n",IDRING(hh)->ref); 701 else 702 PrintLn(); 703 } 702 704 hh=IDNEXT(hh); 703 705 } … … 706 708 { 707 709 if (IDDATA(hh)==(void *)basePack) 708 Print("(T)::%s, typ %s level %d \n",709 IDID(hh),Tok2Cmdname(IDTYP(hh)),IDLEV(hh) );710 Print("(T)::%s, typ %s level %d data %x\n", 711 IDID(hh),Tok2Cmdname(IDTYP(hh)),IDLEV(hh),IDDATA(hh)); 710 712 else 711 713 if ((IDTYP(hh)==RING_CMD) … … 717 719 while (h2!=NULL) 718 720 { 719 if (IDDATA(h2)==NULL) PrintS("(N)"); 720 else if (IDDATA(h2)==(void *)currRing) PrintS("(R)"); 721 else if (IDDATA(h2)==(void *)currPack) PrintS("(P)"); 722 else PrintS(" "); 723 Print("%s::%s, typ %s level %d\n", 724 IDID(hh),IDID(h2),Tok2Cmdname(IDTYP(h2)),IDLEV(h2)); 721 if (showproc || (IDTYP(h2)!=PROC_CMD)) 722 { 723 if (IDDATA(h2)==(void *)currRing) PrintS("(R)"); 724 else if (IDDATA(h2)==(void *)currPack) PrintS("(P)"); 725 else PrintS(" "); 726 Print("%s::%s, typ %s level %d data %x\n", 727 IDID(hh),IDID(h2),Tok2Cmdname(IDTYP(h2)),IDLEV(h2),IDDATA(h2)); 728 } 725 729 h2=IDNEXT(h2); 726 730 } … … 735 739 while (hh!=NULL) 736 740 { 737 738 741 omCheckAddr(hh); 742 omCheckAddr(IDID(hh)); 739 743 if (RingDependend(IDTYP(hh))) Print("%s typ %d in Top\n",IDID(hh),IDTYP(hh)); 740 744 hh=IDNEXT(hh); … … 748 752 while (h2!=NULL) 749 753 { 750 751 754 omCheckAddr(h2); 755 omCheckAddr(IDID(h2)); 752 756 if (RingDependend(IDTYP(h2))) Print("%s typ %d in %s\n",IDID(h2),IDTYP(h2),IDID(hh)); 753 757 h2=IDNEXT(h2);
Note: See TracChangeset
for help on using the changeset viewer.