=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/parse/compile.c,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- OpenXM_contrib2/asir2000/parse/compile.c 2000/08/21 08:31:46 1.2 +++ OpenXM_contrib2/asir2000/parse/compile.c 2003/05/14 06:20:11 1.5 @@ -23,7 +23,7 @@ * shall be made on your publication or presentation in any form of the * results obtained by use of the SOFTWARE. * (4) In the event that you modify the SOFTWARE, you shall notify FLL by - * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification + * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification * for such modification or the source code of the modified part of the * SOFTWARE. * @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/parse/compile.c,v 1.1.1.1 1999/12/03 07:39:12 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/parse/compile.c,v 1.4 2003/02/14 22:29:17 ohara Exp $ */ #include #include "ca.h" @@ -193,14 +193,14 @@ SNODE f; case S_BP: if ( !nextbp && (!FA1(f) || compile((FNODE)FA1(f))) ) { if ( (FNODE)FA2(f) ) { -#if PARI +#if defined(PARI) extern FILE *outfile; outfile = stderr; #endif asir_out = stderr; printexpr(CO,compile((FNODE)FA2(f))); putc('\n',asir_out); fflush(asir_out); -#if PARI +#if defined(PARI) outfile = stdout; #endif asir_out = stdout; @@ -590,12 +590,13 @@ FUNC *r; f->name = name; f->id = A_PARI; f->argc = 0; f->f.binf = 0; } -void mkuf(name,fname,args,body,startl,endl,desc) +void mkuf(name,fname,args,body,startl,endl,desc,module) char *name,*fname; NODE args; SNODE body; int startl,endl; char *desc; +MODULE module; { FUNC f; USRF t; @@ -629,8 +630,8 @@ char *desc; fprintf(stderr,"%s() defined.\n",name); */ t=(USRF)MALLOC(sizeof(struct oUSRF)); t->args=args; BDY(t)=body; t->pvs = CPVS; t->fname = fname; - t->startl = startl; t->endl = endl; t->vol = asir_infile->vol; - t->desc = desc; + t->startl = startl; t->endl = endl; + t->desc = desc; t->module = module; f->id = A_USR; f->argc = argc; f->f.usrf = t; CPVS = GPVS; clearbp(f);