Changeset 6f83c3d in git
- Timestamp:
- Oct 29, 1998, 2:27:56 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 49e4cf52022a948fa0a8caaba481eaaefe28591a
- Parents:
- 42aacda3aa026dde5ffeb3dc2f373683406c43ad
- Location:
- Singular
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r42aacda r6f83c3d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipassign.cc,v 1. 39 1998-10-29 09:50:43Singular Exp $ */4 /* $Id: ipassign.cc,v 1.40 1998-10-29 13:27:54 Singular Exp $ */ 5 5 6 6 /* … … 1291 1291 if (lt==LIST_CMD && (l->req_packhdl)!= NULL) 1292 1292 { 1293 //Print("==========>ipAssign() - 3\n");1293 // Print("==========>ipAssign() - 3\n"); 1294 1294 namespaceroot->push( IDPACKAGE(l->req_packhdl) , 1295 1295 IDID(l->req_packhdl)); -
Singular/ipid.cc
r42aacda r6f83c3d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipid.cc,v 1.2 4 1998-10-28 18:12:55 Singular Exp $ */4 /* $Id: ipid.cc,v 1.25 1998-10-29 13:27:55 Singular Exp $ */ 5 5 6 6 /* … … 428 428 } 429 429 // pointer ------------------------------------------------------------- 430 else if(IDTYP(h)==POINTER_CMD) { 431 Print(">>>>>>Free pointer\n"); 430 else if(IDTYP(h)==POINTER_CMD) 431 { 432 PrintS(">>>>>>Free pointer\n"); 432 433 } 433 434 #endif /* HAVE_NAMESPACES */ … … 496 497 // now dechain it and delete idrec 497 498 #ifdef KAI_ 498 if(h->next != NULL)Print("=======>%s(%x) -> %s<====\n", IDID(h), IDID(h), IDID(h->next)); 499 else Print("=======>%s(%x)<====\n", IDID(h), IDID(h)); 499 if(h->next != NULL) 500 Print("=======>%s(%x) -> %s<====\n", IDID(h), IDID(h), IDID(h->next)); 501 else 502 Print("=======>%s(%x)<====\n", IDID(h), IDID(h)); 500 503 #endif 501 504 … … 716 719 { 717 720 Print("//dclose(%s)\n",pack->libname); 718 719 721 } 720 722 FreeL((ADDRESS)pack->libname); … … 911 913 for(nshdl=namespaceroot; nshdl->isroot != TRUE; nshdl = nshdl->next) { 912 914 //Print("NSstack: %s:%d, nesting=%d\n", nshdl->name, nshdl->lev, nshdl->myynest); 913 if (nshdl->pack==pack) { 915 if (nshdl->pack==pack) 916 { 914 917 Warn("package '%s' still in use on level %d",nshdl->name, nshdl->lev); 915 918 return FALSE; 916 919 } 917 920 } 918 if (nshdl->pack==pack) { 921 if (nshdl->pack==pack) 922 { 919 923 //Print("NSstack: %s:%d, nesting=%d\n", nshdl->name, nshdl->lev, nshdl->myynest); 920 924 Warn("package '%s' still in use on level %d",nshdl->name, nshdl->lev); -
Singular/iplib.cc
r42aacda r6f83c3d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iplib.cc,v 1.3 8 1998-10-22 12:26:12 krueger Exp $ */4 /* $Id: iplib.cc,v 1.39 1998-10-29 13:27:56 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: LIB and help … … 306 306 if (iiLocalRing[i]==NULL) PrintS("NULL"); 307 307 else Print("%d",iiLocalRing[i]); 308 Print ("\n");308 PrintLn(); 309 309 } 310 310 #endif … … 315 315 if (nshdl->currRing==NULL) PrintS("NULL"); 316 316 else Print("%d",nshdl->currRing); 317 Print ("\n");317 PrintLn(); 318 318 } 319 319 Print("%d lev %d:",nshdl->lev, nshdl->myynest); 320 320 if (nshdl->currRing==NULL) PrintS("NULL"); 321 321 else Print("%d",nshdl->currRing); 322 Print ("\n");322 PrintLn(); 323 323 } 324 324 if (currRing==NULL) PrintS("curr:NULL\n"); … … 407 407 err=TRUE; 408 408 break; 409 409 410 410 case LANG_SINGULAR: 411 411 err=iiPStart(pn,sl); … … 598 598 #ifdef HAVE_NAMESPACES 599 599 int token; 600 600 601 601 if(IsCmd(plib, &token)) { 602 602 Werror("'%s' is resered identifier\n", plib); … … 742 742 } 743 743 #if 0 744 Print("--------------------\n"); 745 for(ls = library_stack; ls != NULL; ls = ls->next) { 744 PrintS("--------------------\n"); 745 for(ls = library_stack; ls != NULL; ls = ls->next) 746 { 746 747 Print("%s: LIB-stack:(%d), %s %s\n", newlib, ls->cnt, ls->get(), 747 748 ls->to_be_done ? "not loaded" : "loaded"); 748 749 } 749 Print ("--------------------\n");750 PrintS("--------------------\n"); 750 751 #endif 751 752 } … … 954 955 955 956 h = enterid(mstrdup(procname),0, PROC_CMD, &IDROOT, FALSE); 956 if ( h!= NULL ) { 957 if ( h!= NULL ) 958 { 957 959 Print("register binary proc: %s::%s\n", libname, procname); 958 960 pi = IDPROC(h); … … 964 966 pi->data.o.function = func; 965 967 return(1); 966 } else { 967 Print("iiAddCproc: failed.\n"); 968 } 969 else 970 { 971 PrintS("iiAddCproc: failed.\n"); 968 972 } 969 973 return(0); … … 1000 1004 // printf("iiConvName: '%s' '%s' => '%s'\n", libname, tmpname, r); 1001 1005 FreeL(tmpname); 1002 1006 1003 1007 return(r); 1004 1008 }
Note: See TracChangeset
for help on using the changeset viewer.