Return to gentexi.c CVS log | Up to [local] / OpenXM / src / asir-contrib / packages / doc |
version 1.5, 2002/08/23 03:26:16 | version 1.6, 2002/10/23 01:11:41 | ||
---|---|---|---|
|
|
||
/* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gentexi.c,v 1.4 2002/08/08 08:56:32 takayama Exp $ */ | /* $OpenXM: OpenXM/src/asir-contrib/packages/doc/gentexi.c,v 1.5 2002/08/23 03:26:16 noro Exp $ */ | ||
#include <stdio.h> | #include <stdio.h> | ||
int Debug = 0; | int Debug = 0; | ||
|
|
||
sprintf(fname,"tmp/%s-auto-%s.texi",name,Lang); | sprintf(fname,"tmp/%s-auto-%s.texi",name,Lang); | ||
fp = fopen(fname,"r"); | fp = fopen(fname,"r"); | ||
if (fp == NULL) { | if (fp == NULL) { | ||
fprintf(stderr,"No file %s\n",fname); | /* fprintf(stderr,"No file %s\n",fname); */ | ||
return 0; | return 0; | ||
} | } | ||
while ((c=fgetc(fp)) != EOF) { | while ((c=fgetc(fp)) != EOF) { | ||
|
|
||
} | } | ||
} | } | ||
}else{ | }else{ | ||
fprintf(stderr,"Unknown keyword << %s >> at %s\n",key, it->name); | fprintf(stderr,"Warning: unknown keyword << %s >> at %s. Ignored.\n",key, it->name); | ||
exit(10); | p = nextToken(key,LIMIT); | ||
} | } | ||
}while (p >= 0); | }while (p >= 0); | ||