[BACK]Return to parserpass0.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Diff for /OpenXM/src/kan96xx/Kan/parserpass0.c between version 1.5 and 1.6

version 1.5, 2013/11/06 06:23:24 version 1.6, 2020/10/06 11:33:46
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/parserpass0.c,v 1.4 2005/07/03 11:08:54 ohara Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/parserpass0.c,v 1.5 2013/11/06 06:23:24 takayama Exp $ */
 /* parserpass0.c */  /* parserpass0.c */
 /*  In this preprocessor, for example, the expression  /*  In this preprocessor, for example, the expression
       x^2+y^2-4+x y;        x^2+y^2-4+x y;
Line 47  static int get0()
Line 47  static int get0()
   } else return(c);    } else return(c);
 }  }
   
 static put0(c)  static void put0(c)
      int c;       int c;
      /* put a letter on Buf0 */       /* put a letter on Buf0 */
 {  {
Line 87  static struct tokens flush()
Line 87  static struct tokens flush()
   return(r);    return(r);
 }  }
   
 static isSpace0(c)  static int isSpace0(c)
      int c;       int c;
 {  {
   if (c <= ' ') return(1);    if (c <= ' ') return(1);
Line 173  static char Buftmp[STRBUFMAX];
Line 173  static char Buftmp[STRBUFMAX];
 static char *Buf = Buftmp;  static char *Buf = Buftmp;
 static int Buflimit = STRBUFMAX;  static int Buflimit = STRBUFMAX;
   
 static putstr(str,kind)  static int putstr(str,kind)
      char str[]; /* string to be outputted */       char str[]; /* string to be outputted */
      actionType kind; /* kind is INIT or PUT */       actionType kind; /* kind is INIT or PUT */
 {  {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>