=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/parse/arith.c,v retrieving revision 1.6 retrieving revision 1.8 diff -u -p -r1.6 -r1.8 --- OpenXM_contrib2/asir2000/parse/arith.c 2001/08/20 09:03:27 1.6 +++ OpenXM_contrib2/asir2000/parse/arith.c 2002/08/02 05:34:03 1.8 @@ -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/arith.c,v 1.5 2000/12/11 09:28:03 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/parse/arith.c,v 1.7 2001/10/09 01:36:23 noro Exp $ */ #include "ca.h" #include "parse.h" @@ -191,7 +191,10 @@ Obj a,e,*r; R t; if ( !a ) - *r = 0; + if ( !e ) + *r = (pointer)ONE; + else + *r = 0; else if ( OID(a) == O_QUOTE ) (*(afunc[O_QUOTE].pwr))(vl,a,e,r); else if ( !e ) @@ -238,7 +241,7 @@ int complist(vl,a,b) VL vl; LIST a,b; { - int i,t; + int t; NODE an,bn; if ( !a )