Changeset 3b1a83c in git for Singular/scanner.l


Ignore:
Timestamp:
Oct 23, 2001, 4:04:26 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
65248586d85a6b175c2665d87679f2e492ae9fb8
Parents:
7497ef3773fc1afff892546445b1d82b1cf0fb05
Message:
*hannes: dagstuhl improvements


git-svn-id: file:///usr/local/Singular/svn/trunk@5653 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/scanner.l

    r7497ef3 r3b1a83c  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 /* $Id: scanner.l,v 1.30 2001-10-09 16:36:21 Singular Exp $ */
     5/* $Id: scanner.l,v 1.31 2001-10-23 14:04:26 Singular Exp $ */
    66#include <stdio.h>
    77#include <string.h>
     
    346346.                       {
    347347                           /*if (*yytext == '\n') REJECT;*/
    348                            register char ch= *yytext;
     348                           register char ch= *yytext;
    349349                           lvalp->i = ch;
    350                            switch(ch)
    351                            {
    352                              /* case '&': */
    353                              case '|':
     350                           switch(ch)
     351                           {
     352                             /* case '&': */
     353                             case '|':
    354354                               return LOGIC_OP;
    355                              /* case '/': */
    356                              case '%':
    357                              case '*':
     355                             /* case '/': */
     356                             case '%':
     357                             case '*':
    358358                               return MULDIV_OP;
    359                              /* case '<': */
    360                              case '>':
    361                                return COMP_OP;
    362                              default:
    363                                break;
    364                             }
     359                             /* case '<': */
     360                             case '>':
     361                               return COMP_OP;
     362                             default:
     363                               break;
     364                            }
    365365                            return ch;
    366366                         }
Note: See TracChangeset for help on using the changeset viewer.