Changeset bb0dee in git


Ignore:
Timestamp:
Feb 25, 2015, 5:56:55 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
35058d42beb8679a99a513c3c1a33a98be61d591
Parents:
d080fa0e344c37082afc24da1889088d17305646
Message:
code cleanup: interpreter
Location:
Singular
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rd080fa rbb0dee  
    79837983      {
    79847984        //Print("test %s %s\n",Tok2Cmdname(dA2[i].arg1),Tok2Cmdname(dA2[i].arg2));
    7985         if ((ai=iiTestConvert(at,dA2[i].arg1))!=0)
     7985        if ((ai=iiTestConvert(at,dA2[i].arg1,dConvertTypes))!=0)
    79867986        {
    7987           if ((bi=iiTestConvert(bt,dA2[i].arg2))!=0)
     7987          if ((bi=iiTestConvert(bt,dA2[i].arg2,dConvertTypes))!=0)
    79887988          {
    79897989            res->rtyp=dA2[i].res;
  • Singular/ipshell.cc

    rd080fa rbb0dee  
    12471247  {
    12481248    omFree(t);
    1249     Werror("last arg is not a proc",i);
     1249    Werror("last arg (%d) is not a proc",i);
    12501250    return TRUE;
    12511251  }
  • Singular/links/ssiLink.cc

    rd080fa rbb0dee  
    18881888**/
    18891889/*---------------------------------------------------------------------*/
    1890 void sig_chld_hdl(int sig)
     1890void sig_chld_hdl(int)
    18911891{
    18921892  pid_t kidpid;
  • Singular/subexpr.cc

    rd080fa rbb0dee  
    986986  int t=rtyp;
    987987  void *d=data;
    988   if (t==IDHDL) t=IDTYP((idhdl)data);
     988  if (t==IDHDL) t=IDTYP((idhdl)d);
    989989  else if (t==ALIAS_CMD)
    990990  { idhdl h=(idhdl)IDDATA((idhdl)data); t=IDTYP(h);d=IDDATA(h); }
     
    10291029      {
    10301030        lists l;
    1031         if (rtyp==IDHDL) l=IDLIST((idhdl)data);
    1032         else if (rtyp==ALIAS_CMD)
    1033         {
    1034           idhdl h=(idhdl)data;
    1035           l=(lists)(((idhdl)h->data.ustring)->data.ustring);
    1036         }
    1037         else             l=(lists)data;
     1031        if (rtyp==IDHDL) l=IDLIST((idhdl)d);
     1032        else             l=(lists)d;
    10381033        if ((0<e->start)&&(e->start<=l->nr+1))
    10391034        {
Note: See TracChangeset for help on using the changeset viewer.