Changeset 566fcb in git


Ignore:
Timestamp:
Aug 26, 1998, 7:09:10 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9c9fb9d01c2c2a1581d22ee36200b77b2e7bd41c
Parents:
ef2c6ce296a744da8b0012dbcc25e421ffdb812f
Message:
*** empty log message ***


git-svn-id: file:///usr/local/Singular/svn/trunk@2485 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    ref2c6c r566fcb  
    9494    if ((store!=NULL)&&(store!=this))
    9595      store->CleanUp();
    96    
     96
    9797    switch (t /*=Typ()*/)
    9898      {
     
    128128        case RESOLUTION_CMD:
    129129          syPrint((syStrategy)d);
    130           break; 
     130          break;
    131131        case STRING_CMD:
    132132          ::Print("%-*.*s%s",spaces,spaces," ",(char *)d);
     
    138138         {
    139139           procinfov pi=(procinfov)d;
    140            ::Print("%-*.*s// libname  : %s\n",spaces,spaces," ",
    141                    piProcinfo(pi, "libname"));
    142            ::Print("%-*.*s// procname : %s\n",spaces,spaces," ",
    143                    piProcinfo(pi, "procname"));
    144            ::Print("%-*.*s// type     : %s",spaces,spaces," ",
    145                    piProcinfo(pi, "type"));
    146            //      ::Print("%-*.*s// ref      : %s",spaces,spaces," ",
    147            //   piProcinfo(pi, "ref"));
    148            break;
     140           ::Print("%-*.*s// libname  : %s\n",spaces,spaces," ",
     141                   piProcinfo(pi, "libname"));
     142           ::Print("%-*.*s// procname : %s\n",spaces,spaces," ",
     143                   piProcinfo(pi, "procname"));
     144           ::Print("%-*.*s// type     : %s",spaces,spaces," ",
     145                   piProcinfo(pi, "type"));
     146           //           ::Print("%-*.*s// ref      : %s",spaces,spaces," ",
     147           //   piProcinfo(pi, "ref"));
     148           break;
    149149         }
    150150       case POINTER_CMD:
     
    213213  {
    214214    PrintLn();
    215   } 
     215  }
    216216#ifdef SIQ
    217217  if (rtyp!=COMMAND)
     
    279279        break;
    280280      case PROC_CMD:
    281         piKill((procinfov)data);
    282         break;
     281        piKill((procinfov)data);
     282        break;
    283283      case LINK_CMD:
    284284        slKill((si_link)data);
     
    314314#ifdef HAVE_RTIMER
    315315        case VRTIMER:
    316 #endif         
     316#endif
    317317      case VOICE:
    318318      case VMAXDEG:
     
    328328      default:
    329329        ::Print("CleanUp: unknown type %d\n",rtyp);  /* DEBUG */
    330 #endif         
     330#endif
    331331    } /* end switch: (rtyp) */
    332332    data=NULL;
     
    350350#ifdef HAVE_RTIMER
    351351      case VRTIMER:
    352 #endif         
     352#endif
    353353      case VOICE:
    354354      case VMAXDEG:
     
    516516          r->ref++;
    517517          data=d;
    518         } 
     518        }
    519519        else
    520520        {
    521521          WerrorS("invalid ring description");
    522         } 
     522        }
    523523        break;
    524524      }
     
    582582  if ((a!=NULL) && (*a!=NULL))
    583583    return (*a)->Copy();
    584   return NULL; 
     584  return NULL;
    585585}
    586586
     
    665665      {
    666666        return rString((ring)d);
    667       } 
     667      }
    668668      default:
    669669        #ifdef TEST
     
    695695#ifdef HAVE_RTIMER
    696696      case VRTIMER:
    697 #endif         
     697#endif
    698698      case VOICE:
    699699      case VMAXDEG:
     
    703703        return INT_CMD;
    704704      case LIB_CMD:
    705         return STRING_CMD; 
     705        return STRING_CMD;
    706706      case VMINPOLY:
    707707        return NUMBER_CMD;
     
    824824                         if(h==NULL) return (void *)sNoName;
    825825                         return IDSTRING(h);
    826                        } 
     826                       }
    827827      case IDHDL:
    828828        return IDDATA((idhdl)data);
     
    913913        if (!errorreported)
    914914          Werror("wrong range[%d,%d] in intmat(%dx%d)",e->start,e->next->start,
    915                                                      MATROWS((matrix)d),MATCOLS((matrix)d));
     915                                         MATROWS((matrix)d),MATCOLS((matrix)d));
    916916      }
    917917      else
     
    11711171    {
    11721172      BOOLEAN ok=FALSE;
    1173       poly p = ((currRingHdl!=NULL)&&(!noringvars)&&(IDLEV(currRingHdl)!=myynest))
    1174                /* ring required */  /* not in decl */    /* already in case 4/6 */
     1173      poly p = ((currRingHdl!=NULL)&&(!noringvars)
     1174                /* ring required */  /* not in decl */
     1175                &&(IDLEV(currRingHdl)!=myynest))
     1176                /* already in case 4/6 */
    11751177                     ? pmInit(id,ok) : (poly)NULL;
    11761178      if (ok)
Note: See TracChangeset for help on using the changeset viewer.