Changeset f8c970f in git


Ignore:
Timestamp:
Feb 10, 2020, 9:32:43 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
aef2f88078eb68823122da1a077a35a6f8606c79
Parents:
ad2c165657ffefeec4d0a4d69bde05109f9b218f
Message:
ierror check: force single argument for map
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rad2c16 rf8c970f  
    16441644{
    16451645  //Print("try to map %s with %s\n",$3.Name(),$1.Name());
    1646   leftv sl=NULL;
    1647   if ((v->e==NULL)&&(v->name!=NULL))
     1646  if ((v->e==NULL)&&(v->name!=NULL)&&(v->next==NULL))
    16481647  {
    16491648    map m=(map)u->Data();
    1650     sl=iiMap(m,v->name);
     1649    leftv sl=iiMap(m,v->name);
     1650    if (sl!=NULL)
     1651    {
     1652      memcpy(res,sl,sizeof(sleftv));
     1653      omFreeBin((ADDRESS)sl, sleftv_bin);
     1654      return FALSE;
     1655    }
    16511656  }
    16521657  else
     
    16541659    Werror("%s(<name>) expected",u->Name());
    16551660  }
    1656   if (sl==NULL) return TRUE;
    1657   memcpy(res,sl,sizeof(sleftv));
    1658   omFreeBin((ADDRESS)sl, sleftv_bin);
    1659   return FALSE;
     1661  return TRUE; /*sl==NULL or Werror*/
    16601662}
    16611663static BOOLEAN jjRING_1(leftv res, leftv u, leftv v)
Note: See TracChangeset for help on using the changeset viewer.