version 1.1, 1999/10/08 02:12:14 |
version 1.5, 2005/06/16 05:07:24 |
|
|
|
/* $OpenXM: OpenXM/src/k097/d.h,v 1.4 2005/06/09 04:47:16 takayama Exp $ */ |
/* d.h;*/ |
/* d.h;*/ |
/* from stackm.h */ |
/* from stackm.h */ |
|
|
|
|
int tag; /* class identifier */ |
int tag; /* class identifier */ |
union cell lc; /* left cell */ |
union cell lc; /* left cell */ |
union cell rc; /* right cell */ |
union cell rc; /* right cell */ |
|
struct object *attr; |
}; |
}; |
|
|
struct object{ /* must be compatible with stackm.h */ |
struct object{ /* must be compatible with stackm.h */ |
int tag; /* class identifier */ |
int tag; /* class identifier */ |
union cell lc; /* left cell */ |
union cell lc; /* left cell */ |
union cell rc; /* right cell */ |
union cell rc; /* right cell */ |
|
struct object *attr; |
}; |
}; |
|
|
|
#define OINIT { .attr = NULL } |
|
|
typedef struct Object * objectp; /* cf. 65p of Schreiner. */ |
typedef struct Object * objectp; /* cf. 65p of Schreiner. */ |
#define YYSTYPE objectp |
#define YYSTYPE objectp |
|
|
Line 131 int fsungetc(int c,objectp op); |
|
Line 135 int fsungetc(int c,objectp op); |
|
void readLineFromFile(FILE *fp,struct stringBuf *obuf); |
void readLineFromFile(FILE *fp,struct stringBuf *obuf); |
struct stringBuf *newStringBuf(char *initstr); |
struct stringBuf *newStringBuf(char *initstr); |
void doublingStringBuf(struct stringBuf *sbuf); |
void doublingStringBuf(struct stringBuf *sbuf); |
|
objectp checkIfTheFileExists(objectp name); |
void loadFile(objectp op); |
void loadFile(objectp op); |
void loadFileWithCpp(objectp op); |
void loadFileWithCpp(objectp op); |
void showStringBuff(objectp op); |
void showStringBuff(objectp op); |