Changeset 3b1a83c in git for Singular/scanner.l
- Timestamp:
- Oct 23, 2001, 4:04:26 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 65248586d85a6b175c2665d87679f2e492ae9fb8
- Parents:
- 7497ef3773fc1afff892546445b1d82b1cf0fb05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/scanner.l
r7497ef3 r3b1a83c 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 /* $Id: scanner.l,v 1.3 0 2001-10-09 16:36:21Singular Exp $ */5 /* $Id: scanner.l,v 1.31 2001-10-23 14:04:26 Singular Exp $ */ 6 6 #include <stdio.h> 7 7 #include <string.h> … … 346 346 . { 347 347 /*if (*yytext == '\n') REJECT;*/ 348 348 register char ch= *yytext; 349 349 lvalp->i = ch; 350 351 352 353 350 switch(ch) 351 { 352 /* case '&': */ 353 case '|': 354 354 return LOGIC_OP; 355 356 357 355 /* case '/': */ 356 case '%': 357 case '*': 358 358 return MULDIV_OP; 359 360 361 362 363 364 359 /* case '<': */ 360 case '>': 361 return COMP_OP; 362 default: 363 break; 364 } 365 365 return ch; 366 366 }
Note: See TracChangeset
for help on using the changeset viewer.