version 1.4, 2003/02/14 22:29:17 |
version 1.7, 2015/08/14 13:51:56 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/compile.c,v 1.3 2000/08/22 05:04:25 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/compile.c,v 1.6 2015/08/08 14:19:42 fujimoto Exp $ |
*/ |
*/ |
#include <ctype.h> |
#include <ctype.h> |
#include "ca.h" |
#include "ca.h" |
|
|
f->name = name; f->id = A_PARI; f->argc = 0; f->f.binf = 0; |
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; |
char *name,*fname; |
NODE args; |
NODE args; |
SNODE body; |
SNODE body; |
int startl,endl; |
int startl,endl; |
char *desc; |
char *desc; |
|
MODULE module; |
{ |
{ |
FUNC f; |
FUNC f; |
USRF t; |
USRF t; |
|
|
fprintf(stderr,"%s() defined.\n",name); */ |
fprintf(stderr,"%s() defined.\n",name); */ |
t=(USRF)MALLOC(sizeof(struct oUSRF)); |
t=(USRF)MALLOC(sizeof(struct oUSRF)); |
t->args=args; BDY(t)=body; t->pvs = CPVS; t->fname = fname; |
t->args=args; BDY(t)=body; t->pvs = CPVS; t->fname = fname; |
t->startl = startl; t->endl = endl; t->vol = asir_infile->vol; |
t->startl = startl; t->endl = endl; |
t->desc = desc; |
t->desc = desc; t->module = module; |
f->id = A_USR; f->argc = argc; f->f.usrf = t; |
f->id = A_USR; f->argc = argc; f->f.usrf = t; |
CPVS = GPVS; |
CPVS = GPVS; |
clearbp(f); |
clearbp(f); |