[BACK]Return to type.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / builtin

Diff for /OpenXM_contrib2/asir2018/builtin/type.c between version 1.3 and 1.4

version 1.3, 2018/10/19 23:27:38 version 1.4, 2020/10/06 06:31:19
Line 45 
Line 45 
  * 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/asir2018/builtin/type.c,v 1.2 2018/09/28 08:20:27 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/builtin/type.c,v 1.3 2018/10/19 23:27:38 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 67  Obj *rp;
Line 67  Obj *rp;
   Obj t;    Obj t;
   Z q;    Z q;
   
   if ( t = (Obj)ARG0(arg) ) {    if ( ( t = (Obj)ARG0(arg) ) != 0 ) {
     STOZ(OID(t),q); *rp = (Obj)q;      STOZ(OID(t),q); *rp = (Obj)q;
   } else    } else
     *rp = 0;      *rp = 0;
Line 80  Obj *rp;
Line 80  Obj *rp;
   Obj t;    Obj t;
   Z q;    Z q;
   
   if ( t = (Obj)ARG0(arg) ) {    if ( ( t = (Obj)ARG0(arg) ) != 0 ) {
     asir_assert(t,O_N,"ntype");      asir_assert(t,O_N,"ntype");
     STOZ(NID(t),q); *rp = (Obj)q;      STOZ(NID(t),q); *rp = (Obj)q;
   } else    } else

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>