Changeset 7cdf2b1 in git
- Timestamp:
- May 29, 2009, 6:25:12 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- a4c5b94c36005f5de0d0d41f05a8e61dcdf10ada
- Parents:
- 342afc797694d1826b3a335435a298d46400c5a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r342afc r7cdf2b1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.20 5 2009-05-05 09:54:37Singular Exp $ */4 /* $Id: ipshell.cc,v 1.206 2009-05-29 16:25:12 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 503 503 void test_cmd(int i) 504 504 { 505 int ii=(char)i; 506 507 if (i == (-32)) 508 { 509 test = 0; 505 int ii; 506 507 if (i<0) 508 { 509 ii= -i; 510 if (ii < 32) 511 { 512 test &= ~Sy_bit(ii); 513 } 514 else if (ii < 64) 515 { 516 verbose &= ~Sy_bit(ii-32); 517 } 518 else 519 WerrorS("out of bounds\n"); 520 } 521 else if (i<32) 522 { 523 ii=i; 524 if (Sy_bit(ii) & kOptions) 525 { 526 Warn("Gerhard, use the option command"); 527 test |= Sy_bit(ii); 528 } 529 else if (Sy_bit(ii) & validOpts) 530 test |= Sy_bit(ii); 531 } 532 else if (i<64) 533 { 534 ii=i-32; 535 verbose |= Sy_bit(ii); 510 536 } 511 537 else 512 { 513 if (i<0) 514 { 515 ii= -i; 516 if (Sy_bit(ii) & kOptions) 517 { 518 Warn("Gerhard, use the option command"); 519 test &= ~Sy_bit(ii); 520 } 521 else if (Sy_bit(ii) & validOpts) 522 test &= ~Sy_bit(ii); 523 } 524 else if (i<32) 525 { 526 if (Sy_bit(ii) & kOptions) 527 { 528 Warn("Gerhard, use the option command"); 529 test |= Sy_bit(ii); 530 } 531 else if (Sy_bit(ii) & validOpts) 532 test |= Sy_bit(ii); 533 } 534 } 538 WerrorS("out of bounds\n"); 535 539 } 536 540
Note: See TracChangeset
for help on using the changeset viewer.