Changeset 4fc4d1 in git
- Timestamp:
- May 5, 1998, 8:07:21 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- fc1e8c8fa09db4d2b18765fbe4d20d724ccf84c7
- Parents:
- b0721b2a7867e9d2b6e60b19e20942e0eca2842f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/febase.inc
rb0721b r4fc4d1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.inc,v 1. 8 1998-04-30 17:17:36Singular Exp $ */4 /* $Id: febase.inc,v 1.9 1998-05-05 18:07:21 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: handling of 'voices' … … 432 432 int feReadLine(char* b, int l) 433 433 { 434 // try to read from the buffer: 435 // b[1] = '\0'; 434 // try to read from the buffer into b, max l chars 436 435 if ((currentVoice->buffer!=NULL) 437 436 && (currentVoice->buffer[currentVoice->fptr]!='\0')) … … 446 445 b[i]=currentVoice->buffer[currentVoice->fptr]; 447 446 i++; 448 if ((c<' ') 449 || (c==';') 450 || (c==')') 451 || (c=='}') 452 || (c=='"') 453 || (c=='$')) break; 447 if (yy_noeof==noeof_block) 448 { 449 if (c<' ') yylineno++; 450 else if (c=='}') break; 451 } 452 else if (yy_noeof==noeof_string) 453 { 454 if (c<' ') yylineno++; 455 else if (c=='"') break; 456 } 457 else 458 { 459 if ((c<' ') || 460 (c==';') || 461 (c==')') 462 ) 463 break; 464 } 454 465 if (i>=l) break; 455 466 currentVoice->fptr++;
Note: See TracChangeset
for help on using the changeset viewer.