Changeset 20a0c61 in git


Ignore:
Timestamp:
May 29, 2017, 2:38:53 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
7ea6fa15cc39259e24b89693eff7b21206cf4e48
Parents:
5701b2dba7b0ab2bead00e561ab312559359da8a
Message:
code cleanup for bb handling: iparith.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r5701b2 r20a0c61  
    80568056      {
    80578057        if (!bb->blackbox_Op2(op,res,a,b)) return FALSE;
    8058         if (errorreported) return TRUE;
    80598058        // else: no op defined
    80608059      }
    8061       else          return TRUE;
     8060      /*else*/
     8061      return TRUE;
    80628062    }
    80638063    else if ((bt>MAX_TOK)&&(op!='('))
     
    80678067      {
    80688068        if(!bb->blackbox_Op2(op,res,a,b)) return FALSE;
    8069         if (errorreported) return TRUE;
    80708069        // else: no op defined
    80718070      }
    8072       else          return TRUE;
     8071      /*else*/
     8072      return TRUE;
    80738073    }
    80748074    int i=iiTabIndex(dArithTab2,JJTAB2LEN,op);
     
    82448244        res->data=bb->blackbox_Init(bb);
    82458245        if(!bb->blackbox_Assign(res,a)) return FALSE;
    8246         if (errorreported) return TRUE;
    8247       }
    8248       else          return TRUE;
     8246      }
     8247      /*else*/
     8248      return TRUE;
    82498249    }
    82508250    else if (at>MAX_TOK) // argument is of bb-type
     
    82548254      {
    82558255        if(!bb->blackbox_Op1(op,res,a)) return FALSE;
    8256         if (errorreported) return TRUE;
    82578256        // else: no op defined
    82588257      }
    8259       else          return TRUE;
     8258      /*else*/
     8259      return TRUE;
    82608260    }
    82618261
     
    84588458      {
    84598459        if(!bb->blackbox_Op3(op,res,a,b,c)) return FALSE;
    8460         if (errorreported) return TRUE;
    84618460        // else: no op defined
    84628461      }
    8463       else          return TRUE;
     8462      /*else*/
     8463      return TRUE;
    84648464      if (errorreported) return TRUE;
    84658465    }
     
    85698569      {
    85708570        if(!bb->blackbox_OpM(op,res,a)) return FALSE;
    8571         if (errorreported) return TRUE;
    85728571        // else: no op defined
    85738572      }
    8574       else          return TRUE;
     8573      /*else*/
     8574      return TRUE;
    85758575    }
    85768576    int args=0;
Note: See TracChangeset for help on using the changeset viewer.