Changeset 1c2317 in git
- Timestamp:
- May 8, 2014, 11:00:59 AM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 940230a149b3bac4c8d39671078f7fb77bb097e6
- Parents:
- 83ce221ff06900901bec39d172e89083a2a00b8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/bigintm/bigintm.cc
r83ce22 r1c2317 110 110 */ 111 111 112 if( op=='(' ) // <bigintm> VAR();113 {114 Werror("bigintm_Op1: What do you mean by '<bigintm>()'?!");115 return TRUE;116 }117 118 112 return blackboxDefaultOp1(op, l, r); 119 113 } … … 200 194 return TRUE; 201 195 } 202 /* 203 /// TODO: Why is this ignored???! 204 case '(' : // <bigintm> VAR(b); 205 { 206 Werror("bigintm_Op2: What du you mean by '<bigintm>(...%s...)'?!", Tok2Cmdname(a2->Typ())); 207 return TRUE; 208 } 209 */ 196 210 197 case EQUAL_EQUAL: 211 198 { … … 221 208 res->data=(void *) (long) n_Equal(n1,n2, coeffs_BIGINT); 222 209 res->rtyp= INT_CMD; 210 n_Delete(&n2,coeffs_BIGINT); 223 211 return FALSE; 224 212 } … … 245 233 246 234 Werror("bigintm_Op2: Op: '.': 2nd argument-type: '%s'(%d) is called '%s' in ", Tok2Cmdname(a2->Typ()), a2->Typ(), a2->name); 247 return blackboxDefaultOp2(op,res,a1,a2);235 return TRUE; 248 236 } 249 237 … … 267 255 } 268 256 269 /// TODO: Why is this used for ALL the cases: even for "a(1)" ???!270 case '(' : // <bigintm> VAR(b,...);271 {272 Werror("bigintm_OpM: What do you mean by '<bigintm>(...)'?!");273 return TRUE;274 }275 276 257 default: 277 258 return blackbox_default_OpM(op, res, args); 278 259 } 279 return TRUE;260 return blackbox_default_OpM(op, res, args); 280 261 } 281 262
Note: See TracChangeset
for help on using the changeset viewer.