version 1.4, 1999/11/06 21:39:37 |
version 1.5, 1999/11/07 12:12:56 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_math/parse.h,v 1.3 1999/11/02 19:51:18 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_math/parse.h,v 1.4 1999/11/06 21:39:37 ohara Exp $ */ |
|
|
#ifndef _PARSE_H_ |
#ifndef _PARSE_H_ |
|
|
|
|
int setmode_mygetc(char *s, int len); |
int setmode_mygetc(char *s, int len); |
|
|
typedef struct { |
typedef struct { |
char *key; |
char *key; |
int tag; |
int tag; |
int token; |
int token; |
int type; |
int type; |
} symbol; |
} 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_ */ |