00001 #include <stdlib.h>
00002 #include "stack-c.h"
00003
00004 extern int crestrc __PARAMS((char **a, int *m,int *err));
00005
00006
00007
00008
00009
00010
00011 int intex5c(fname)
00012 char* fname;
00013 {
00014 char *l1;
00015 int m1,n1,ierr=0;
00016 static int minlhs=1, minrhs=0, maxlhs=1, maxrhs=0;
00017
00018 CheckRhs(minrhs,maxrhs);
00019 CheckLhs(minlhs,maxlhs);
00020
00021 crestrc( &l1,&m1,&ierr);
00022 if ( ierr > 0 )
00023 {
00024 Scierror(999,"%s: Internal error \r\n",fname);
00025 return 0;
00026 }
00027
00028 n1=1;
00029 CreateVarFromPtr( 1, "c", &m1, &n1, &l1);
00030 free(l1);
00031 LhsVar(1) = 1;
00032 return(0);
00033 }