Changeset 9b3e8c in git


Ignore:
Timestamp:
Oct 28, 1998, 1:49:16 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
8c5a0ad829425c9582f179d0d8583928ea03275c
Parents:
7df4ee5876f48915cd9d017b3ee3c6513e70a1f7
Message:
*hannes: importfrom/exportto only for namespaces


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r7df4ee r9b3e8c  
    44294429#endif
    44304430
     4431#ifdef HAVE_NAMESPACES
    44314432static BOOLEAN jjEXPORTTO(leftv res, leftv v)
    44324433{
    4433 #ifdef HAVE_NAMESPACES
    44344434  BOOLEAN nok=TRUE;
    44354435  leftv u=v;
    4436   if(u->rtyp==NSHDL) {
     4436  if(u->rtyp==NSHDL)
     4437  {
    44374438    namehdl ns = (namehdl)(u->data);
    44384439    idhdl h = namespaceroot->root->get(ns->name, 0, TRUE);
     
    44584459    return FALSE;
    44594460  }
    4460 #else /* HAVE_NAMESPACES */
     4461  return TRUE;
     4462}
    44614463#endif /* HAVE_NAMESPACES */
    4462   return TRUE;
    4463 }
    4464 
     4464#ifdef HAVE_NAMESPACES
    44654465static BOOLEAN jjIMPORTFROM(leftv res, leftv v)
    44664466{
     
    44854485  return TRUE;
    44864486}
    4487 
     4487#endif
    44884488#ifdef HAVE_NAMESPACES
    44894489static BOOLEAN jjUNLOAD(leftv res, leftv v)
     
    45424542,{jjSTATUS_M,  STATUS_CMD,      INT_CMD,             4 }
    45434543#endif
     4544#ifdef HAVE_NAMESPACES
    45444545,{jjIMPORTFROM,IMPORTFROM_CMD,  ANY_TYPE,           -2 }
    45454546,{jjEXPORTTO,  EXPORTTO_CMD,    NONE,               -2 }
    4546 #ifdef HAVE_NAMESPACES
    45474547 ,{jjUNLOAD,   UNLOAD_CMD,      NONE,               -2 }
    45484548#endif /* HAVE_NAMESPACES */
Note: See TracChangeset for help on using the changeset viewer.