=================================================================== RCS file: /home/cvs/OpenXM/src/ox_math/Attic/parse.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- OpenXM/src/ox_math/Attic/parse.h 1999/11/02 19:51:18 1.3 +++ OpenXM/src/ox_math/Attic/parse.h 1999/11/06 21:39:37 1.4 @@ -1,6 +1,5 @@ /* -*- mode: C; coding: euc-japan -*- */ -/* $OpenXM: OpenXM/src/ox_math/parse.h,v 1.2 1999/11/02 06:11:58 ohara Exp $ */ -/* $Id: parse.h,v 1.3 1999/11/02 19:51:18 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_math/parse.h,v 1.3 1999/11/02 19:51:18 ohara Exp $ */ #ifndef _PARSE_H_ @@ -23,6 +22,10 @@ #define MIN_T_OX TOKEN(512) #define MAX_T_OX TOKEN(600) +#define IS_CMO 1 +#define IS_SM 2 +#define IS_OX 3 + #define PFLAG_ADDREV 1 int setflag_parse(int flag); @@ -32,5 +35,12 @@ int setgetc(int (*foo)()); int resetgetc(); int mygetc(); int setmode_mygetc(char *s, int len); + +typedef struct { + char *key; + int tag; + int token; + int type; +} symbol; #endif /* _PARSE_H_ */