[BACK]Return to parse.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/parse.h between version 1.3 and 1.4

version 1.3, 2000/01/17 19:55:56 version 1.4, 2000/03/10 12:24:39
Line 1 
Line 1 
 /* -*- mode: C -*- */  /* -*- mode: C -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/parse.h,v 1.2 1999/12/22 11:26:37 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/parse.h,v 1.3 2000/01/17 19:55:56 ohara Exp $ */
   
 #ifndef _PARSE_H_  #ifndef _PARSE_H_
   
 #include "ox.h"  
   
 #define _PARSE_H_  #define _PARSE_H_
   
   struct symbol {
       char *key;
       int  tag;
       int  token;
       int  type;
   };
   
   #include "ox_toolkit.h"
   
 /* Remarks: a token, which is less than 256, means a one character token. */  /* Remarks: a token, which is less than 256, means a one character token. */
   
 /* The followings are definitions of some tokens. */  /* The followings are definitions of some tokens. */
Line 25 
Line 32 
 #define IS_CMO   1  #define IS_CMO   1
 #define IS_SM    2  #define IS_SM    2
 #define IS_OX    3  #define IS_OX    3
   
 #define PFLAG_ADDREV   1  
   
 int setflag_parse(int flag);  
 cmo *parse();  
 int init_parser(char *s);  
   
 typedef struct {  
     char *key;  
     int  tag;  
     int  token;  
     int  type;  
 } symbol;  
   
 symbol* lookup_by_symbol(char *key);  
 symbol* lookup_by_token(int tok);  
 symbol* lookup_by_tag(int tag);  
 symbol* lookup(int i);  
   
 #endif /* _PARSE_H_ */  #endif /* _PARSE_H_ */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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