version 1.2, 2000/01/21 03:01:25 |
version 1.5, 2000/05/04 11:05:19 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/k097/d.c,v 1.4 2000/05/01 07:26:58 takayama Exp $ */ |
/* simple.c, 1996, 1/1 --- 1/5 */ |
/* simple.c, 1996, 1/1 --- 1/5 */ |
#include <stdio.h> |
#include <stdio.h> |
#include <ctype.h> |
#include <ctype.h> |
Line 13 jmp_buf KCenvOfParser; |
|
Line 13 jmp_buf KCenvOfParser; |
|
int DebugMode = 1; |
int DebugMode = 1; |
extern int K00_verbose; |
extern int K00_verbose; |
|
|
static FILE *outfile = stdout; |
static FILE *outfile; |
int Linenumber = 0; |
int Linenumber = 0; |
objectp Inop = (objectp) NULL; /* Input stream */ |
objectp Inop = (objectp) NULL; /* Input stream */ |
int Saki = 0; /* Look a head */ |
int Saki = 0; /* Look a head */ |
Line 1007 void loadFileWithCpp(objectp op) |
|
Line 1007 void loadFileWithCpp(objectp op) |
|
return; |
return; |
} |
} |
system("/bin/rm -f k00.cppload.tmp"); |
system("/bin/rm -f k00.cppload.tmp"); |
|
#if defined(linux) || defined(__linux__) |
strcpy(fname,"/lib/cpp -P -lang-c++ <"); |
strcpy(fname,"/lib/cpp -P -lang-c++ <"); |
|
#else |
|
strcpy(fname,"cpp -P -lang-c++ <"); |
|
#endif |
strcat(fname,op->lc.str); |
strcat(fname,op->lc.str); |
strcat(fname," >k00.cppload.tmp"); |
strcat(fname," >k00.cppload.tmp"); |
system(fname); |
system(fname); |